1
0
Fork 0

src/Main/main.cxx: updated call to SGPropertyLockControl().

We now allow restoration of previous value-changed property callback behaviour.
This commit is contained in:
Julian Smith 2021-06-02 19:03:43 +01:00
parent 23b3c21669
commit a5de1cc33f

View file

@ -623,7 +623,8 @@ int fgMainInit( int argc, char **argv )
SGPropertyNode* active = globals->get_props()->getNode("/sim/property-locking/active", true /*create*/);
SGPropertyNode* verbose = globals->get_props()->getNode("/sim/property-locking/verbose", true /*create*/);
SGPropertyNode* timing = globals->get_props()->getNode("/sim/property-locking/timing", true /*create*/);
SGPropertyLockControl(active, verbose, timing);
SGPropertyNode* parent_listeners = globals->get_props()->getNode("/sim/property-locking/parent_listeners", true /*create*/);
SGPropertyLockControl(active, verbose, timing, parent_listeners);
}
const bool readOnlyFGHome = fgGetBool("/sim/fghome-readonly");