Added support for Viewer::setViewer::setView so that the internal old

style osg::Camera and camera manipulators are updated correctly.
This commit is contained in:
Robert Osfield
2003-04-08 15:47:45 +00:00
parent e928bca4c9
commit 8a3d731739
4 changed files with 29 additions and 9 deletions

View File

@@ -357,8 +357,8 @@ bool OsgCameraGroup::realize()
getTopMostSceneData()->accept(sfpn);
if (sfpn._foundParticles)
{
osg::notify(osg::NOTICE)<<"Warning: disabling multi-threading of cull and draw"<<std::endl;
osg::notify(osg::NOTICE)<<" to avoid threading problems in osgParticle."<<std::endl;
osg::notify(osg::INFO)<<"Warning: disabling multi-threading of cull and draw"<<std::endl;
osg::notify(osg::INFO)<<" to avoid threading problems in osgParticle."<<std::endl;
_thread_model = Producer::CameraGroup::SingleThreaded;
}
}