From 4e9e35a0a2cc6f7a5042954d7f5215ad73feb163 Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Sun, 22 Jan 2012 11:23:56 +0100 Subject: [PATCH] #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). --- src/Autopilot/route_mgr.cxx | 1 + 1 file changed, 1 insertion(+) 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