Skip to content

Commit

Permalink
Fix wrapupRoute (reconstructFinalPointsFromFullRoute)
Browse files Browse the repository at this point in the history
  • Loading branch information
RZR-UA committed Sep 11, 2024
1 parent 2d624b4 commit 1d90609
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,9 @@ private void wrapupRoute(List<GpxPoint> gpxPoints, RouteSegmentAppr bestRoute) {
System.out.println(" " + r);
}
}
for (RouteSegmentResult r : res) {
r.setGpxPointIndex(startInd); // required for reconstructFinalPointsFromFullRoute()
}
gpxPoints.get(startInd).routeToTarget = res;
gpxPoints.get(startInd).targetInd = last;
}
Expand Down

0 comments on commit 1d90609

Please sign in to comment.