Run Edge.Cuts & Margin clearance tests on zone layer.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17292
This commit is contained in:
Jeff Young 2024-03-08 20:50:29 +00:00
parent 686a62cbe6
commit d1d9636598
1 changed files with 2 additions and 2 deletions

View File

@ -1153,13 +1153,13 @@ void ZONE_FILLER::buildCopperItemClearances( const ZONE* aZone, PCB_LAYER_ID aLa
else if( aItem->IsOnLayer( Edge_Cuts ) )
{
gap = std::max( gap, evalRulesForItems( EDGE_CLEARANCE_CONSTRAINT,
aZone, aItem, Edge_Cuts ) );
aZone, aItem, aLayer ) );
ignoreLineWidths = true;
}
else if( aItem->IsOnLayer( Margin ) )
{
gap = std::max( gap, evalRulesForItems( EDGE_CLEARANCE_CONSTRAINT,
aZone, aItem, Margin ) );
aZone, aItem, aLayer ) );
}
if( gap > 0 )