Copy the initial properties a second time after initilization.
This commit is contained in:
parent
2d2d5dbb76
commit
123eb41819
1 changed files with 6 additions and 0 deletions
|
@ -190,6 +190,12 @@ void FDMShell::update(double dt)
|
|||
|
||||
fgSetBool("/sim/fdm-initialized", true);
|
||||
fgSetBool("/sim/signals/fdm-initialized", true);
|
||||
|
||||
if (!copyProperties(_props->getNode("fdm", true),
|
||||
_initialFdmProperties))
|
||||
{
|
||||
SG_LOG(SG_FLIGHT, SG_ALERT, "Failed to save initial FDM property state");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue