| | 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 | |