Fix double progress
This commit is contained in:
parent
b6885b5a33
commit
6c2d1e43a3
1 changed files with 1 additions and 0 deletions
|
@ -177,6 +177,7 @@ public class RoutePlannerFrontEnd {
|
||||||
if (routeDirection != null) {
|
if (routeDirection != null) {
|
||||||
ctx.precalculatedRouteDirection = routeDirection.adopt(ctx);
|
ctx.precalculatedRouteDirection = routeDirection.adopt(ctx);
|
||||||
}
|
}
|
||||||
|
ctx.calculationProgress.iteration++;
|
||||||
List<RouteSegmentResult> res = runNativeRouting(ctx, recalculationEnd);
|
List<RouteSegmentResult> res = runNativeRouting(ctx, recalculationEnd);
|
||||||
if (res != null) {
|
if (res != null) {
|
||||||
new RouteResultPreparation().printResults(ctx, start, end, res);
|
new RouteResultPreparation().printResults(ctx, start, end, res);
|
||||||
|
|
Loading…
Reference in a new issue