Open MeFisto94 opened 8 years ago
I think I'll have to take a look at this.
How do you encounter this issue, does it happen every time ?
try inserting this line :
if(startPickLoc == null) startPickLoc = SceneEditTool.pickWorldLocation(camera, screenCoord, plane, null);
at L.82 in updatePick(...) in PickManager
if this solve the issue i'll do some refactor to make sure the first pick position is set when initializing the pick manager.
No, I have no clue, it 'just' happened when I was trying to set the motionPath. Afterwards I didn't have any problems anymore.
It's hard to reproduce though, so could the startPickLoc by any chance be set wrongly (e.g. I clicked outside of the window?)
It's hard to reproduce though, so could the startPickLoc by any chance be set wrongly (e.g. I clicked outside of the window?)
This is what i thought.
I don't know what I did, I just tried to use the Scene Composer with this lousy touchpad and then... bam!
It doesn't know the end position