Don't run DRC checks against reference images.

fixes https://gitlab.com/kicad/code/kicad/-/issues/15932
This commit is contained in:
Jeff Young 2023-10-24 16:02:04 +01:00
parent dbd4af16c6
commit 1ef6e69d83
1 changed files with 3 additions and 0 deletions

View File

@ -948,6 +948,9 @@ void DRC_TEST_PROVIDER_COPPER_CLEARANCE::testGraphicClearances( )
auto testGraphicAgainstZone =
[&]( BOARD_ITEM* item )
{
if( item->Type() == PCB_BITMAP_T )
return;
if( !IsCopperLayer( item->GetLayer() ) )
return;