Fixed bug in click_to_run feature where events would be handled by hidden labels

This commit is contained in:
Robert Osfield 2012-10-24 16:10:38 +00:00
parent f9fd4342ba
commit cebb9f6103

View File

@ -50,6 +50,8 @@ PickEventHandler::PickEventHandler(const osgPresentation::KeyPosition& keyPos,bo
bool PickEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter& aa, osg::Object*, osg::NodeVisitor* nv)
{
if (ea.getHandled()) return false;
switch(ea.getEventType())
{
case(osgGA::GUIEventAdapter::MOVE):