From Marco Jez, added setEventHandled() and getEventHandled() to osgGA::EventVisitor.

This commit is contained in:
Robert Osfield
2005-07-27 09:37:26 +00:00
parent b9a74c87e1
commit 72a59527f5
4 changed files with 28 additions and 11 deletions

View File

@@ -17,7 +17,9 @@
using namespace osg;
using namespace osgGA;
EventVisitor::EventVisitor():NodeVisitor(UPDATE_VISITOR,TRAVERSE_ALL_CHILDREN)
EventVisitor::EventVisitor()
: NodeVisitor(UPDATE_VISITOR,TRAVERSE_ALL_CHILDREN),
_handled(false)
{
}
@@ -41,4 +43,5 @@ void EventVisitor::removeEvent(GUIEventAdapter* event)
void EventVisitor::reset()
{
_events.clear();
_handled = false;
}