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
|
||||
if(possibleTurns.size() > 1) {
|
||||
TIntIterator it = possibleTurns.iterator();
|
||||
while(it.hasNext()) {
|
||||
int nxt = it.next();
|
||||
if(!TurnType.isSlightTurn(nxt)) {
|
||||
it.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
// remove all non-slight turns // TEST don't pass
|
||||
// if(possibleTurns.size() > 1) {
|
||||
// TIntIterator it = possibleTurns.iterator();
|
||||
// while(it.hasNext()) {
|
||||
// int nxt = it.next();
|
||||
// if(!TurnType.isSlightTurn(nxt)) {
|
||||
// it.remove();
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
int infer = 0;
|
||||
if (possibleTurns.size() == 1) {
|
||||
infer = possibleTurns.iterator().next();
|
||||
|
|
Loading…
Reference in a new issue