Преглед на файлове

Revert U-turns block. Actually possible in H3 and has unintended side
effects

Ivan Savenko преди 2 години
родител
ревизия
2261298d09
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      lib/pathfinder/CPathfinder.cpp

+ 0 - 3
lib/pathfinder/CPathfinder.cpp

@@ -162,9 +162,6 @@ void CPathfinder::calculatePaths()
 			if(neighbour->locked)
 				continue;
 
-			if (source.node->theNodeBefore && source.node->theNodeBefore->coord == neighbour->coord )
-				continue; // block U-turns
-
 			if(!hlp->isLayerAvailable(neighbour->layer))
 				continue;