Re: [osg-users] Ubuntu insensitive to middle-click, extending SphericalManipulator as workaround

2012-06-27 Thread Matthew Grimes
Hi Robert, thanks for the reply. I am using the OSG 3.01 that is part of Ubuntu 12.04's repositories (libopenscenegraph-dev 3.0.1-2). I did make-clean and rebuild my project after upgrading to Ubuntu 12.04. -- Read this topic online here:

[osg-users] Ubuntu insensitive to middle-click, extending SphericalManipulator as workaround

2012-06-26 Thread Matthew Grimes
I upgraded from Ubuntu 11.04 to 12.04, and as a weird side-effect, my OSG app no longer handles middle-clicks correctly. When I inspect the GUIEventAdapter object that represents a middle-click event, the mouse button flag is unset, rather than set to GUIEventAdapter::MOUSE_MIDDLE_BUTTON. My

[osg-users] How do I handle EventVisitors that contain multiple events?

2010-12-23 Thread Matthew Grimes
Hi, I want to have one of the nodes in my scene graph respond to key presses by giving it an event callback. When the callback gets an EventVisitor containing a KEYDOWN event, I want it to eat that event and keep others from seeing it. I noticed that EventVisitors have the capacity to contain