Don't test pad:track clearances in pad tester.
They've already been tested in the track tester. Fixes https://gitlab.com/kicad/code/kicad/issues/6554
This commit is contained in:
parent
7f360a7188
commit
3989c19c41
|
@ -461,6 +461,10 @@ bool DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadAgainstItem( PAD* pad, SHAPE* pa
|
|||
if( other->Type() == PCB_FP_SHAPE_T && pad->GetParent() == other->GetParent() )
|
||||
testClearance = false;
|
||||
|
||||
// Track clearances are tested in testTrackClearances()
|
||||
if( dynamic_cast<TRACK*>( other) )
|
||||
testClearance = false;
|
||||
|
||||
if( !testClearance && !testShorting && !testHoles )
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue