Fix #3665
This commit is contained in:
parent
da81464597
commit
ba7c11a25d
1 changed files with 10 additions and 10 deletions
|
@ -1429,16 +1429,16 @@ public class RouteResultPreparation {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// remove all non-slight turns
|
// remove all non-slight turns // TEST don't pass
|
||||||
if(possibleTurns.size() > 1) {
|
// if(possibleTurns.size() > 1) {
|
||||||
TIntIterator it = possibleTurns.iterator();
|
// TIntIterator it = possibleTurns.iterator();
|
||||||
while(it.hasNext()) {
|
// while(it.hasNext()) {
|
||||||
int nxt = it.next();
|
// int nxt = it.next();
|
||||||
if(!TurnType.isSlightTurn(nxt)) {
|
// if(!TurnType.isSlightTurn(nxt)) {
|
||||||
it.remove();
|
// it.remove();
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
int infer = 0;
|
int infer = 0;
|
||||||
if (possibleTurns.size() == 1) {
|
if (possibleTurns.size() == 1) {
|
||||||
infer = possibleTurns.iterator().next();
|
infer = possibleTurns.iterator().next();
|
||||||
|
|
Loading…
Reference in a new issue