DRC_TEST_PROVIDER_COPPER_CLEARANCES is for copper only.
Fixes https://gitlab.com/kicad/code/kicad/issues/6248
This commit is contained in:
parent
d2befca5af
commit
f600450ee6
|
@ -194,7 +194,13 @@ bool DRC_TEST_PROVIDER_COPPER_CLEARANCE::Run()
|
|||
|
||||
zone->CacheBoundingBox();
|
||||
m_zoneTrees[ zone ] = std::make_unique<DRC_RTREE>();
|
||||
m_zoneTrees[ zone ]->insert( zone );
|
||||
|
||||
for( int layer : zone->GetLayerSet().Seq() )
|
||||
{
|
||||
if( IsCopperLayer( layer ) )
|
||||
m_zoneTrees[ zone ]->insert( zone, layer );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
reportAux( "Testing %d copper items and %d zones...", count, m_zones.size() );
|
||||
|
|
Loading…
Reference in New Issue