Changeset 10316 for OpenSceneGraph/trunk/src/osgViewer/Renderer.cpp
- Timestamp:
- 06/05/09 21:05:37 (4 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgViewer/Renderer.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgViewer/Renderer.cpp
r9552 r10316 385 385 if (sceneView && !_done) 386 386 { 387 // since we are running the draw thread in parallel with the main thread it's possible to unreference Camera's 388 // that are still being used by this rendering thread, so to prevent this we'll take references to all these 389 // Camera's and the clear these references once we've completed the whole draw dispatch. 390 sceneView->collateReferencesToDependentCameras(); 391 387 392 if (_compileOnNextDraw) 388 393 { … … 486 491 } 487 492 493 sceneView->clearReferencesToDependentCameras(); 488 494 } 489 495
