diff --git a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java index 136684663b..98f3b72c74 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java @@ -443,7 +443,7 @@ public class WaypointHelper { } public void clearAllVisiblePoints() { - //this.locationPointsStates.clear(); + this.locationPointsStates.clear(); this.locationPoints = new ArrayList>(); } @@ -532,7 +532,7 @@ public class WaypointHelper { protected synchronized void setLocationPoints(List> locationPoints, RouteCalculationResult route) { this.locationPoints = locationPoints; - //this.locationPointsStates.clear(); + this.locationPointsStates.clear(); TIntArrayList list = new TIntArrayList(locationPoints.size()); list.fill(0, locationPoints.size(), 0); this.pointsProgress = list;