fix
This commit is contained in:
parent
017a63f657
commit
cbc55ede29
1 changed files with 5 additions and 3 deletions
|
@ -1739,10 +1739,12 @@ public class RouteResultPreparation {
|
|||
public void remove() {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
RouteSegment rt = ctx.loadRouteSegment(road.getPoint31XTile(pointInd), road.getPoint31YTile(pointInd), ctx.config.memoryLimitation,
|
||||
recalculation);
|
||||
} else if (recalculation) {
|
||||
RouteSegment rt = ctx.loadRouteSegment(road.getPoint31XTile(pointInd), road.getPoint31YTile(pointInd), ctx.config.memoryLimitation);
|
||||
it = rt == null ? null : rt.getIterator();
|
||||
} else {
|
||||
// Here we assume that all segments should be attached by native
|
||||
it = null;
|
||||
}
|
||||
// try to attach all segments except with current id
|
||||
while (it != null && it.hasNext()) {
|
||||
|
|
Loading…
Reference in a new issue