Pads need to be included in collection for length checks
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16724
This commit is contained in:
parent
ed00cb3304
commit
c143be6279
|
@ -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 ) )
|
||||
|
|
Loading…
Reference in New Issue