fixed interface provided nogos

This commit is contained in:
Arndt Brenschede 2017-08-12 18:17:23 +02:00
parent 2c4c21ad7c
commit 7f9221673d

View file

@ -66,13 +66,10 @@ public class BRouterWorker
rc.startDirection = Integer.valueOf( params.getInt( "direction" ) );
}
if ( nogoList != null )
{
rc.prepareNogoPoints( nogoList );
rc.nogopoints = nogoList;
}
readNogos( params ); // add interface provided nogos
rc.prepareNogoPoints( nogoList );
rc.nogopoints = nogoList;
waypoints = readPositions(params);
RoutingEngine cr = new RoutingEngine( null, null, segmentDir, waypoints, rc );