diff --git a/pcbnew/router/pns_topology.cpp b/pcbnew/router/pns_topology.cpp index 7c81ecc5d4..ecdb91bb91 100644 --- a/pcbnew/router/pns_topology.cpp +++ b/pcbnew/router/pns_topology.cpp @@ -381,8 +381,7 @@ const ITEM_SET TOPOLOGY::AssembleTuningPath( ITEM* aStart, SOLID** aStartPad, SO // Whole segment is inside: clip out this segment clip = vertex; } - else if( containsB && - ( aForward ? vertex < aLine.PointCount() - 1 : vertex > 0 ) ) + else if( containsB ) { // Only one point inside: Find the intersection VECTOR2I loc;