Fix double progress

This commit is contained in:
Victor Shcherb 2018-05-29 23:27:26 +02:00
parent b6885b5a33
commit 6c2d1e43a3

View file

@ -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);