src/Main/main.cxx: updated call to SGPropertyLockControl().
We now allow restoration of previous value-changed property callback behaviour.
This commit is contained in:
parent
23b3c21669
commit
a5de1cc33f
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue