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
This commit is contained in:
parent
9827a79987
commit
546d76269a
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ void fgUpdateTimeDepCalcs() {
|
||||||
|
|
||||||
if ( !inited ) {
|
if ( !inited ) {
|
||||||
inited = true;
|
inited = true;
|
||||||
|
fgSetBool("/sim/signals/fdm-initialized", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( replay_state->getIntValue() == 0 ) {
|
if ( replay_state->getIntValue() == 0 ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue