Added s/getCullSettings to OsgCameraGroup

This commit is contained in:
Robert Osfield
2004-10-05 19:12:46 +00:00
parent 3b8abfa875
commit debf8dceef
3 changed files with 54 additions and 29 deletions

View File

@@ -611,6 +611,17 @@ void OsgCameraGroup::frame()
osg::Node* node = getTopMostSceneData();
if (node) node->getBound();
CameraGroup::frame();
// pass on the cull settings to the scene views to keep
// the settings in sync.
for(SceneHandlerList::iterator itr = _shvec.begin();
itr != _shvec.end();
++itr)
{
(*itr)->getSceneView()->setCullSettings(_cullSettings);
}
CameraGroup::frame();
}