From c143be6279d5f9ad8130bc6b0c5973314b3bc392 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 23 Jan 2024 22:07:44 -0500 Subject: [PATCH] Pads need to be included in collection for length checks Fixes https://gitlab.com/kicad/code/kicad/-/issues/16724 --- pcbnew/drc/drc_test_provider_matched_length.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/drc/drc_test_provider_matched_length.cpp b/pcbnew/drc/drc_test_provider_matched_length.cpp index aba42c3ec9..df4634c49c 100644 --- a/pcbnew/drc/drc_test_provider_matched_length.cpp +++ b/pcbnew/drc/drc_test_provider_matched_length.cpp @@ -230,14 +230,14 @@ bool DRC_TEST_PROVIDER_MATCHED_LENGTH::runInternal( bool aDelayReportMode ) size_t count = 0; size_t ii = 0; - forEachGeometryItem( { PCB_TRACE_T, PCB_ARC_T, PCB_VIA_T }, LSET::AllCuMask(), + forEachGeometryItem( { PCB_TRACE_T, PCB_ARC_T, PCB_VIA_T, PCB_PAD_T }, LSET::AllCuMask(), [&]( BOARD_ITEM *item ) -> bool { count++; return true; } ); - forEachGeometryItem( { PCB_TRACE_T, PCB_ARC_T, PCB_VIA_T }, LSET::AllCuMask(), + forEachGeometryItem( { PCB_TRACE_T, PCB_ARC_T, PCB_VIA_T, PCB_PAD_T }, LSET::AllCuMask(), [&]( BOARD_ITEM *item ) -> bool { if( !reportProgress( ii++, count, progressDelta ) )