Add

setAllowThrow(false);

to your manipulator's constructor.

On Monday, January 11, 2016 at 7:00:56 AM UTC-2, Bernard Dalton wrote:
>
> Thanks for your reply and sorry for the late answer (week-end  :) ). 
> This work as intended and my CameraManipulator is nearly done, I still 
> have one issue : 
>
> In the Trackball Manipulator (or other manipulator which move with the 
> mouse) when you push the mouse button, move the mouse and then release the 
> button before stopping the mouse, the camera keep moving as the same speed 
> as before you release the button. 
>
> I want to remove this behavior in my Manipulator and stop the movement 
> when the mouse is released. I have looked in the inherited method 
> performMovement() and performMovementLeftMouseButton() but I didn't find 
> what I needed to change. 
>
> ------------------ 
> Read this topic online here: 
> http://forum.openscenegraph.org/viewtopic.php?p=65980#65980 
>
>
>
>
>
> _______________________________________________ 
> osg-users mailing list 
> osg-...@lists.openscenegraph.org <javascript:> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osg-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/6686d50f-67f0-4443-b2fc-2ebf3c6f2f99%40googlegroups.com.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to