From 3989c19c41431a9fd95f04bd33e981b59171862d Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 30 Nov 2020 12:08:59 +0000 Subject: [PATCH] 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 --- pcbnew/drc/drc_test_provider_copper_clearance.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcbnew/drc/drc_test_provider_copper_clearance.cpp b/pcbnew/drc/drc_test_provider_copper_clearance.cpp index 1be5ee0a26..ede55d5a08 100644 --- a/pcbnew/drc/drc_test_provider_copper_clearance.cpp +++ b/pcbnew/drc/drc_test_provider_copper_clearance.cpp @@ -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( other) ) + testClearance = false; + if( !testClearance && !testShorting && !testHoles ) return false;