Thanks Adrian, change merged and submitted to SVN.
On Jan 11, 2008 7:58 AM, Adrian Egli <[EMAIL PROTECTED]> wrote:
>
> bool TerrainManipulator::handle(const GUIEventAdapter& ea,GUIActionAdapter&
> us)
> {
>
> switch(ea.getEventType())
> {
> case(GUIEventAdapter::FRAME):
> if (_thrown)
> {
> if (calcMovement()) us.requestRedraw();
> }
> return false;
> default:
> break;
> }
>
>
> if (ea.getHandled()) return false; <=== IF HANDLED, do nothing: ignor
> event
>
>
>
>
>
>
>
>
> ****************************
>
> Looking for: getHandled
> C:\dev\OpenSceneGraphSVN\OpenSceneGraph\src\osgGA\DriveManipulator.cpp(322):
> if (ea.getHandled()) return false;
> C:\dev\OpenSceneGraphSVN\OpenSceneGraph\src\osgGA\FlightManipulator.cpp(109):
> if ( ea.getHandled()) return false;
> C:\dev\OpenSceneGraphSVN\OpenSceneGraph\src\osgGA\KeySwitchMatrixManipulator.cpp(167):
> if (!ea.getHandled() && ea.getEventType()==GUIEventAdapter::KEYDOWN)
> C:\dev\OpenSceneGraphSVN\OpenSceneGraph\src\osgGA\StateSetManipulator.cpp(73):
> if ( ea.getHandled()) return false;
> C:\dev\OpenSceneGraphSVN\OpenSceneGraph\src\osgGA\TrackballManipulator.cpp(91):
> if (ea.getHandled()) return false;
> C:\dev\OpenSceneGraphSVN\OpenSceneGraph\src\osgGA\UFOManipulator.cpp(209):
> if ( ea.getHandled()) return false;
>
> --
> ********************************************
> Adrian Egli
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org