-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

This patch fixes the (lack of) spin animation in the osgViewer version.

Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGV+cFeDhWHdXrDRURArn+AKCpfvYnUmolduqrcLROaXZ4hfInjgCfc8t8
wd3k56qrKgAvVv4pvzEFyXQ=
=Oj9W
-----END PGP SIGNATURE-----
Index: src/Main/renderer.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/Main/renderer.cxx,v
retrieving revision 1.85
diff -d -u -r1.85 renderer.cxx
--- src/Main/renderer.cxx       21 May 2007 17:50:03 -0000      1.85
+++ src/Main/renderer.cxx       26 May 2007 07:46:41 -0000
@@ -381,7 +381,7 @@
        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());
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to