Don't show leading ratline for unconnected net
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8040
This commit is contained in:
parent
3c1a8f8c88
commit
a8896ebd73
|
@ -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…
Reference in New Issue