Track not dangling if entirely covered by pad.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14211
(cherry picked from commit 4e3730f653
)
This commit is contained in:
parent
19e128041b
commit
0df1ec8765
|
@ -770,9 +770,10 @@ bool CONNECTIVITY_DATA::TestTrackEndpointDangling( PCB_TRACK* aTrack, VECTOR2I*
|
|||
|
||||
if( hitStart && hitEnd )
|
||||
{
|
||||
if( zone )
|
||||
if( zone || item->Type() == PCB_PAD_T || item->Type() == PCB_VIA_T )
|
||||
{
|
||||
// Both start and end in a zone: track may be redundant, but it's not dangling
|
||||
// Both start and end in a zone or under a pad: track may be redundant, but
|
||||
// it's not dangling
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue