]> git.mxchange.org Git - flightgear.git/commitdiff
emit signal /sim/signals/fdm-initialized when the FDM is up; this is
authormfranz <mfranz>
Thu, 26 Oct 2006 09:07:41 +0000 (09:07 +0000)
committermfranz <mfranz>
Thu, 26 Oct 2006 09:07:41 +0000 (09:07 +0000)
useful to attach listeners and have their functions run at a time when
they can safely access FDM generated properties

src/Main/main.cxx

index ce6a79aed47f60bb488419d5cc74b83930b17cb9..03ba1711cc57daff5cfa8bbf94b433ee48acaa91 100644 (file)
@@ -156,6 +156,7 @@ void fgUpdateTimeDepCalcs() {
 
         if ( !inited ) {
             inited = true;
+            fgSetBool("/sim/signals/fdm-initialized", true);
         }
 
         if ( replay_state->getIntValue() == 0 ) {