second test

This commit is contained in:
sonora 2016-05-21 19:42:26 +02:00
parent 73021a06ab
commit 71c9341878

View file

@ -817,7 +817,7 @@ public class RouteCalculationResult {
// (!Algorithms.objectEquals(p.getRef(), i.getRef()) &&
// !Algorithms.objectEquals(p.getStreetName(), i.getStreetName()))) {
// Just a temporary test
if(p == null || !i.getTurnType().isSkipToSpeak()) {
if(!i.getTurnType().isSkipToSpeak()) {
p = new RouteDirectionInfo(i.getAverageSpeed(), i.getTurnType());
p.routePointOffset = i.routePointOffset;
p.routeEndPointOffset = i.routeEndPointOffset;