I would say a way of doing this is to execute the init function:
/** Start/restart the manipulator.*/
void StandardManipulator::init( const GUIEventAdapter& ea, GUIActionAdapter& us
)
{
flushMouseEventStack();
// stop animation
_thrown = false;
us.requestContinuousUpdate(false);
}
However, if you're thinking of adding more functionalities into your
manipulator, I would recommend to inherit and add your own code.
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38334#38334
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org