Fix double progress
This commit is contained in:
parent
6c2d1e43a3
commit
34ea004ea2
1 changed files with 0 additions and 1 deletions
|
@ -159,7 +159,6 @@ public class RoutePlannerFrontEnd {
|
|||
if (ctx.calculationMode == RouteCalculationMode.COMPLEX && routeDirection == null
|
||||
&& maxDistance > ctx.config.DEVIATION_RADIUS * 6) {
|
||||
ctx.calculationProgress.totalIterations++;
|
||||
ctx.calculationProgress.iteration++;
|
||||
RoutingContext nctx = buildRoutingContext(ctx.config, ctx.nativeLib, ctx.getMaps(), RouteCalculationMode.BASE);
|
||||
nctx.calculationProgress = ctx.calculationProgress;
|
||||
List<RouteSegmentResult> ls = searchRoute(nctx, start, end, intermediates);
|
||||
|
|
Loading…
Reference in a new issue