From 1ed27f4052b473c02b79eaf46001d6a798f9505a Mon Sep 17 00:00:00 2001 From: gekeleda Date: Mon, 18 Aug 2025 16:38:27 +0200 Subject: [PATCH] Remove intermediate stops regardless of deactivateFollowing Signed-off-by: gekeleda --- libs/map/routing_manager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/map/routing_manager.cpp b/libs/map/routing_manager.cpp index 75f56827e..95e679086 100644 --- a/libs/map/routing_manager.cpp +++ b/libs/map/routing_manager.cpp @@ -546,12 +546,12 @@ void RoutingManager::RemoveRoute(bool deactivateFollowing) es.ClearGroup(UserMark::Type::SPEED_CAM); es.ClearGroup(UserMark::Type::ROAD_WARNING); } - if (deactivateFollowing) { - SetPointsFollowingMode(false /* enabled */); - RemovePassedPoints(); - } + if (deactivateFollowing) + SetPointsFollowingMode(false /* enabled */); }); + RemovePassedPoints(); + if (deactivateFollowing) { m_transitReadManager->BlockTransitSchemeMode(false /* isBlocked */);