Hi, I have bug in draggers with click left and right mouse buttons at the same time. I'm using OSG version 3.4.0. Please look function handle in Dragger.cpp (I can't paste the link).
We have two flags (activationPermitted and _draggerActive). When we press left mouse button, then dragger will set _activationMouseButtonMask and _draggerActive to true. Then we press right mouse button -> Condition (activationPermitted || _draggerActive) is true -> Processing PUSH for RMB -> update all states for dragger. With this logic of dragger is not working correctly. And after release right mouse button - the following code will be executed: Code: if (_draggerActive && ea.getEventType() == osgGA::GUIEventAdapter::RELEASE) { setDraggerActive(false); _pointer.reset(); } Dragger will set _draggerActive to false, but left mouse button is still pressed. Thank you! Cheers, Dmitriy ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67871#67871 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org