|
|
@ -129,6 +129,9 @@ bool DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run() |
|
|
forEachGeometryItem( itemTypes, LSET::AllLayersMask(), |
|
|
forEachGeometryItem( itemTypes, LSET::AllLayersMask(), |
|
|
[&]( BOARD_ITEM* item ) -> bool |
|
|
[&]( BOARD_ITEM* item ) -> bool |
|
|
{ |
|
|
{ |
|
|
|
|
|
if( isInvisibleText( item ) ) |
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
|
++count; |
|
|
++count; |
|
|
return true; |
|
|
return true; |
|
|
} ); |
|
|
} ); |
|
|
@ -140,6 +143,9 @@ bool DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run() |
|
|
forEachGeometryItem( itemTypes, LSET::AllLayersMask(), |
|
|
forEachGeometryItem( itemTypes, LSET::AllLayersMask(), |
|
|
[&]( BOARD_ITEM* item ) -> bool |
|
|
[&]( BOARD_ITEM* item ) -> bool |
|
|
{ |
|
|
{ |
|
|
|
|
|
if( isInvisibleText( item ) ) |
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
|
if( !reportProgress( ii++, count, progressDelta ) ) |
|
|
if( !reportProgress( ii++, count, progressDelta ) ) |
|
|
return false; |
|
|
return false; |
|
|
|
|
|
|
|
|
@ -189,6 +195,9 @@ bool DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::Run() |
|
|
forEachGeometryItem( itemTypes, LSET::AllLayersMask(), |
|
|
forEachGeometryItem( itemTypes, LSET::AllLayersMask(), |
|
|
[&]( BOARD_ITEM* item ) -> bool |
|
|
[&]( BOARD_ITEM* item ) -> bool |
|
|
{ |
|
|
{ |
|
|
|
|
|
if( isInvisibleText( item ) ) |
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
|
if( !reportProgress( ii++, count, progressDelta ) ) |
|
|
if( !reportProgress( ii++, count, progressDelta ) ) |
|
|
return false; |
|
|
return false; |
|
|
|
|
|
|
|
|
|