1
0
Fork 0

Modified Files:

src/Main/renderer.cxx:
	Tim Moore:
	This patch fixes the (lack of) spin animation in the osgViewer version.
This commit is contained in:
frohlich 2007-05-26 11:33:11 +00:00
parent 7986caf75b
commit c9c90f17fe

View file

@ -381,7 +381,7 @@ FGRenderer::splashinit( void ) {
mRealRoot = dynamic_cast<osg::Group*>(viewer->getSceneData());
mRealRoot->addChild(fgCreateSplashNode());
osgViewer::Scene* scene = viewer->getScene();
scene->setFrameStamp(mFrameStamp.get());
mFrameStamp = viewer->getFrameStamp();
// Scene doesn't seem to pass the frame stamp to the update
// visitor automatically.
mUpdateVisitor->setFrameStamp(mFrameStamp.get());