backout test

This commit is contained in:
sonora 2016-05-23 17:19:00 +02:00
parent e9c33caaa8
commit 0f7932dbba

View file

@ -922,10 +922,9 @@ public class RouteResultPreparation {
}
}
// sometimes links are
// Temporary test: See if this fixes Issue #2571
// if ((current <= rs.leftLanes + rs.rightLanes) && (rs.leftLanes > 1 || rs.rightLanes > 1)) {
// rs.speak = true;
// }
if ((current <= rs.leftLanes + rs.rightLanes) && (rs.leftLanes > 1 || rs.rightLanes > 1)) {
rs.speak = true;
}
double devation = Math.abs(MapUtils.degreesDiff(prevSegm.getBearingEnd(), currentSegm.getBearingBegin()));
boolean makeSlightTurn = devation > 5 && (!isMotorway(prevSegm) || !isMotorway(currentSegm));
TurnType t = null;