From 546d76269ad419d374502a42fc5c5b9247f14424 Mon Sep 17 00:00:00 2001 From: mfranz Date: Thu, 26 Oct 2006 09:07:41 +0000 Subject: [PATCH] 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 --- src/Main/main.cxx | 1 + 1 file changed, 1 insertion(+) 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 ) {