Changeset 13041 for OpenSceneGraph/trunk/src/osgViewer/View.cpp
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgViewer/View.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgViewer/View.cpp
r12788 r13041 287 287 getSceneData()->accept(sgv); 288 288 #endif 289 289 290 290 // now make sure the scene graph is set up with the correct DataVariance to protect the dynamic elements of 291 291 // the scene graph from being run in parallel. … … 370 370 371 371 void View::addEventHandler(osgGA::GUIEventHandler* eventHandler) 372 { 372 { 373 373 EventHandlers::iterator itr = std::find(_eventHandlers.begin(), _eventHandlers.end(), eventHandler); 374 374 if (itr == _eventHandlers.end()) … … 460 460 traits->doubleBuffer = true; 461 461 traits->sharedContext = 0; 462 462 463 463 osg::ref_ptr<osg::GraphicsContext> gc = osg::GraphicsContext::createGraphicsContext(traits.get()); 464 464
