From: mfranz Date: Thu, 26 Oct 2006 09:07:41 +0000 (+0000) Subject: emit signal /sim/signals/fdm-initialized when the FDM is up; this is X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=546d76269ad419d374502a42fc5c5b9247f14424;p=flightgear.git emit signal /sim/signals/fdm-initialized when the FDM is up; this is useful to attach listeners and have their functions run at a time when they can safely access FDM generated properties --- diff --git a/src/Main/main.cxx b/src/Main/main.cxx index ce6a79aed..03ba1711c 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -156,6 +156,7 @@ void fgUpdateTimeDepCalcs() { if ( !inited ) { inited = true; + fgSetBool("/sim/signals/fdm-initialized", true); } if ( replay_state->getIntValue() == 0 ) {