Browse Source

Don't show leading ratline for unconnected net

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8040
6.0.7
Jon Evans 5 years ago
parent
commit
a8896ebd73
  1. 2
      pcbnew/router/pns_topology.cpp

2
pcbnew/router/pns_topology.cpp

@ -106,7 +106,7 @@ bool TOPOLOGY::LeadingRatLine( const LINE* aTrack, SHAPE_LINE_CHAIN& aRatLine )
JOINT* jt = tmpNode->FindJoint( track.CPoint( -1 ), &track );
if( !jt )
if( !jt || jt->Net() <= 0 )
return false;
if( ( !track.EndsWithVia() && jt->LinkCount() >= 2 )

Loading…
Cancel
Save