Waypoints announcement initialization fix
This commit is contained in:
parent
5fb0bbd9f9
commit
be1296db11
1 changed files with 2 additions and 2 deletions
|
@ -443,7 +443,7 @@ public class WaypointHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void clearAllVisiblePoints() {
|
public void clearAllVisiblePoints() {
|
||||||
//this.locationPointsStates.clear();
|
this.locationPointsStates.clear();
|
||||||
this.locationPoints = new ArrayList<List<LocationPointWrapper>>();
|
this.locationPoints = new ArrayList<List<LocationPointWrapper>>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -532,7 +532,7 @@ public class WaypointHelper {
|
||||||
|
|
||||||
protected synchronized void setLocationPoints(List<List<LocationPointWrapper>> locationPoints, RouteCalculationResult route) {
|
protected synchronized void setLocationPoints(List<List<LocationPointWrapper>> locationPoints, RouteCalculationResult route) {
|
||||||
this.locationPoints = locationPoints;
|
this.locationPoints = locationPoints;
|
||||||
//this.locationPointsStates.clear();
|
this.locationPointsStates.clear();
|
||||||
TIntArrayList list = new TIntArrayList(locationPoints.size());
|
TIntArrayList list = new TIntArrayList(locationPoints.size());
|
||||||
list.fill(0, locationPoints.size(), 0);
|
list.fill(0, locationPoints.size(), 0);
|
||||||
this.pointsProgress = list;
|
this.pointsProgress = list;
|
||||||
|
|
Loading…
Reference in a new issue