Hello. I try to make my own camera manipulator in which the push events with X lower than the half of the window will be ignored.
I created a class, which derives trackball manipulator. Here is the handle method virtual bool handle( const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& us ) { if (ea.getEventType() == osgGA::GUIEventAdapter::PUSH && isInBounds(ea.getX(), ea.getY())) { return true; } return osgGA::TrackballManipulator::handle(ea, us); } Even though I return true (which means i dont want further handle), it keeps taking into account the event. Is there anything wrong with the code above ? thnx. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org