added turn restrictions
This commit is contained in:
parent
e48cbd49cb
commit
0641a17b9c
1 changed files with 1 additions and 1 deletions
|
@ -902,7 +902,7 @@ public class RoutingEngine extends Thread
|
||||||
sourceNode.unlinkLink ( currentLink );
|
sourceNode.unlinkLink ( currentLink );
|
||||||
|
|
||||||
// if the counterlink is alive and does not yet have a path, remove it
|
// if the counterlink is alive and does not yet have a path, remove it
|
||||||
if ( isBidir && currentLink.getFirstLinkHolder( currentNode ) == null )
|
if ( isBidir && currentLink.getFirstLinkHolder( currentNode ) == null && !routingContext.considerTurnRestrictions )
|
||||||
{
|
{
|
||||||
currentNode.unlinkLink(currentLink);
|
currentNode.unlinkLink(currentLink);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue