Hey guys,

I have embedded my OpenSceneGraph GL context in a Qt window. I wanted to use a 
QMenu in order to perform operations on the selected geode. The intersection 
works, and the slot is executed when the menu->exec() returns. But it seems 
that the trackball manipulator doesn't get the release event back, so it keeps 
scrolling (DRAG events are still generated) even if my right button is not 
pressed.

I've tried inserting events manually in the view's event queue, but without 
success :

view->getEventQueue()->mouseButtonRelease(ea.getX(), ea.getY(), 
osgGA::GUIEventAdapter::RIGHT_MOUSE_BUTTON);

The generated release event is received in my CustomTrackballManipulator but 
does not seems to be applied.

Any thought is welcome, I'm quite stuck at the moment...

Cheers,
Arnaud

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=59625#59625





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to