Thanks Jean-Sébastien, You can't reuse (osgGA::GUIEventAdapter::DRAG) case in handle() because the scroll event needs to be cleared.
I like the idea of reusing the drag and 'dy' - I have rewritten it with that approach. It does lead to having to declare a couple of variables before they can be set which seems to be against OSG house style (and is generally a bad idea) I can only test on windows, but so long as the other windows toolkits add mouse wheel events to the GUIEventAdapter it should just work. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=7534#7534
TrackballManipulator.cpp
Description: Binary data
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org