From aeeeea77935387b0bef2b24477f32972594489ba Mon Sep 17 00:00:00 2001 From: Emma Broman Date: Sun, 27 Feb 2022 20:52:38 +0100 Subject: [PATCH] Reorder default path type property, so the most useful ones comes first OBS! Breaking change for the installations that uses paths, as the option property uses the indices in the list to set the value --- src/navigation/pathnavigator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/navigation/pathnavigator.cpp b/src/navigation/pathnavigator.cpp index cf2756b054..fc9dde4e1c 100644 --- a/src/navigation/pathnavigator.cpp +++ b/src/navigation/pathnavigator.cpp @@ -116,8 +116,8 @@ PathNavigator::PathNavigator() { _defaultPathType.addOptions({ { Path::Type::AvoidCollision, "AvoidCollision" }, - { Path::Type::Linear, "Linear" }, { Path::Type::ZoomOutOverview, "ZoomOutOverview"}, + { Path::Type::Linear, "Linear" }, { Path::Type::AvoidCollisionWithLookAt, "AvoidCollisionWithLookAt"} }); addProperty(_defaultPathType);