Fixed bug in click_to_run feature where events would be handled by hidden labels
This commit is contained in:
parent
f9fd4342ba
commit
cebb9f6103
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user