From c92dcc6b249eb650d10ca6b739bbfa23402126c5 Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 18 May 2008 21:13:25 +0000 Subject: [PATCH] - use fireValueChanged() instead of setBoolValue(true) (micro-optimization :-) - comment out rather pointless FDM status message --- src/Main/main.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 55c5dbad5..29f0d35ab 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -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"); -- 2.39.5