Added a getBound() to the SceneView::app() to make sure the bounding volume is

updated well before the cull traversal which can be multithreaded.
This commit is contained in:
Robert Osfield 2002-11-11 09:01:54 +00:00
parent 6f3e2b681c
commit 1f50138ec4

View File

@ -168,6 +168,12 @@ void SceneView::app()
}
_sceneData->accept(*_appVisitor.get());
// now force a recompute of the bounding volume while we are still in
// the read/write app phase, this should prevent the need to recompute
// the bounding volumes from within the cull traversal which may be
// multi-threaded.
_sceneData->getBound();
}