]> git.mxchange.org Git - flightgear.git/commitdiff
Modified Files:
authorfrohlich <frohlich>
Sat, 26 May 2007 11:33:11 +0000 (11:33 +0000)
committerfrohlich <frohlich>
Sat, 26 May 2007 11:33:11 +0000 (11:33 +0000)
  src/Main/renderer.cxx:
Tim Moore:
This patch fixes the (lack of) spin animation in the osgViewer version.

src/Main/renderer.cxx

index b0ba33414b036fdca60a75f6ade6ea7eb651117b..913a2372a769d881149814c6315451752897f5f7 100644 (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());