Show
Ignore:
Timestamp:
12/22/14 11:35:33 (14 hours ago)
Author:
robert
Message:

Added comment about using -DCMAKE_DISABLE_FINDPACKAGE_* command line.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgViewer/CompositeViewer.cpp

    r13111 r13172  
    736736    } 
    737737 
     738    // get events from all windows attached to Viewer. 
    738739    for(Contexts::iterator citr = contexts.begin(); 
    739740        citr != contexts.end(); 
     
    926927    { 
    927928        View* view = vitr->get(); 
     929 
     930        // get events from user Devices attached to Viewer. 
     931        for(osgViewer::View::Devices::iterator eitr = view->getDevices().begin(); 
     932            eitr != view->getDevices().end(); 
     933            ++eitr) 
     934        { 
     935            osgGA::Device* es = eitr->get(); 
     936            es->checkEvents(); 
     937 
     938            // open question, will we need to reproject mouse coordinates into current view's coordinate frame as is down for GraphicsWindow provided events? 
     939            // for now assume now and just get the events directly without any reprojection. 
     940            es->getEventQueue()->takeEvents(viewEventsMap[view], cutOffTime); 
     941        } 
     942 
    928943        view->getEventQueue()->takeEvents(viewEventsMap[view], cutOffTime); 
    929944    }