Moved Handled propety from GUIEventAdapter to Event base class.

Added CameraManipulator::finishAnimation() method to allow application code to stop any animation/throw of manipulators.
This commit is contained in:
Robert Osfield
2013-11-15 16:15:09 +00:00
parent 835d9455a9
commit c194e92df8
8 changed files with 33 additions and 12 deletions

View File

@@ -23,7 +23,6 @@ osg::ref_ptr<GUIEventAdapter>& GUIEventAdapter::getAccumulatedEventState()
}
GUIEventAdapter::GUIEventAdapter():
_handled(false),
_eventType(NONE),
_windowX(0),
_windowY(0),
@@ -48,7 +47,6 @@ GUIEventAdapter::GUIEventAdapter():
GUIEventAdapter::GUIEventAdapter(const GUIEventAdapter& rhs,const osg::CopyOp& copyop):
osgGA::Event(rhs,copyop),
_handled(rhs._handled),
_eventType(rhs._eventType),
_context(rhs._context),
_windowX(rhs._windowX),