1
0
Fork 0

#609 route manager/nav display related startup segfault

Immediately update the property-tree mirror when adding waypoints (i.e.
using the "--flight-plan=..." startup option).
This commit is contained in:
ThorstenB 2012-01-22 11:23:56 +01:00
parent 64fda03bd6
commit 4e9e35a0a2

View file

@ -399,6 +399,7 @@ void FGRouteMgr::postinit()
SG_LOG(SG_AUTOPILOT, SG_INFO, "loaded initial waypoints:" << _route.size());
}
update_mirror();
weightOnWheels = fgGetNode("/gear/gear[0]/wow", true);
// check airbone flag agrees with presets