]> git.mxchange.org Git - flightgear.git/commitdiff
- use fireValueChanged() instead of setBoolValue(true) (micro-optimization :-)
authormfranz <mfranz>
Sun, 18 May 2008 21:13:25 +0000 (21:13 +0000)
committermfranz <mfranz>
Sun, 18 May 2008 21:13:25 +0000 (21:13 +0000)
- comment out rather pointless FDM status message

src/Main/main.cxx

index 55c5dbad5edf4e581836542685a01a5a83c884bd..29f0d35ab20eca3011aa6fca38f2aa69b205077d 100644 (file)
@@ -139,7 +139,7 @@ void fgUpdateTimeDepCalcs() {
         // the aircraft.
         double range = 1000.0;
         if (globals->get_scenery()->scenery_available(lat, lon, range)) {
-            SG_LOG(SG_FLIGHT,SG_ALERT, "Finally initializing fdm");
+            //SG_LOG(SG_FLIGHT, SG_INFO, "Finally initializing fdm");
             cur_fdm_state->init();
             if ( cur_fdm_state->get_bound() ) {
                 cur_fdm_state->unbind();
@@ -218,7 +218,7 @@ static void fgMainLoop( void ) {
     static SGPropertyNode_ptr frame_signal
         = fgGetNode("/sim/signals/frame", true);
 
-    frame_signal->setBoolValue(true);
+    frame_signal->fireValueChanged();
     SGCloudLayer::enable_bump_mapping = fgGetBool("/sim/rendering/bump-mapping");
 
     bool scenery_loaded = fgGetBool("sim/sceneryloaded");