Show
Ignore:
Timestamp:
08/20/14 16:15:36 (4 hours ago)
Author:
robert
Message:

Reordered method implemenations to make it easier to compare similar methods

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgManipulator/Dragger.cpp

    r13415 r13890  
    306306                ++itr) 
    307307            { 
    308                 osgGA::GUIEventAdapter* ea = itr->get(); 
    309                 if (handle(*ea, *(ev->getActionAdapter()))) ea->setHandled(true); 
     308                osgGA::GUIEventAdapter* ea = (*itr)->asGUIEventAdapter(); 
     309                if (ea && handle(*ea, *(ev->getActionAdapter()))) ea->setHandled(true); 
    310310            } 
    311311        }