Added checking of GUIEventAdpter::getHandled().

This commit is contained in:
Robert Osfield
2007-07-03 13:26:48 +00:00
parent dd628a9829
commit 7f0b3144ea
6 changed files with 45 additions and 28 deletions

View File

@@ -45,6 +45,8 @@ bool StatsHandler::handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdap
updateThreadingModelText();
}
if (ea.getHandled()) return false;
switch(ea.getEventType())
{
case(osgGA::GUIEventAdapter::KEYDOWN):