]> git.mxchange.org Git - flightgear.git/commitdiff
Forward simulation time to osgViewer.
authorThomas Geymayer <tomgey@gmail.com>
Thu, 9 May 2013 23:12:19 +0000 (01:12 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Thu, 9 May 2013 23:13:59 +0000 (01:13 +0200)
src/Viewer/fg_os_osgviewer.cxx

index d754c5f98e3dec5139395b845562411b32a390c2..22526d0db9bb58890231ebb081c043689194e4c6 100644 (file)
@@ -318,7 +318,7 @@ int fgOSMainLoop()
         if (idleFunc)
             (*idleFunc)();
         globals->get_renderer()->update();
-        viewer->frame();
+        viewer->frame( globals->get_sim_time_sec() );
     }
     
     return status;