Show
Ignore:
Timestamp:
04/14/14 18:16:22 (7 days ago)
Author:
robert
Message:

Fixed comment

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPresentation/deprecated/Timeout.cpp

    r13721 r13890  
    258258                ++itr) 
    259259            { 
    260                 osgGA::GUIEventAdapter* event = itr->get(); 
     260                osgGA::GUIEventAdapter* event = (*itr)->asGUIEventAdapter(); 
     261                if (!event) continue; 
    261262 
    262263                bool keyEvent = event->getEventType()==osgGA::GUIEventAdapter::KEYDOWN ||  event->getEventType()==osgGA::GUIEventAdapter::KEYUP;