From: ThorstenB Date: Sun, 22 Jan 2012 10:23:56 +0000 (+0100) Subject: #609 route manager/nav display related startup segfault X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4e9e35a0a2cc6f7a5042954d7f5215ad73feb163;p=flightgear.git #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). --- diff --git a/src/Autopilot/route_mgr.cxx b/src/Autopilot/route_mgr.cxx index f236884f9..1c4fa52f7 100644 --- a/src/Autopilot/route_mgr.cxx +++ b/src/Autopilot/route_mgr.cxx @@ -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