Run Edge.Cuts & Margin clearance tests on zone layer.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17292
(cherry picked from commit d1d9636598
)
This commit is contained in:
parent
03af8dcc88
commit
c0ad519e53
|
@ -1149,13 +1149,13 @@ void ZONE_FILLER::buildCopperItemClearances( const ZONE* aZone, PCB_LAYER_ID aLa
|
||||||
else if( aItem->IsOnLayer( Edge_Cuts ) )
|
else if( aItem->IsOnLayer( Edge_Cuts ) )
|
||||||
{
|
{
|
||||||
gap = std::max( gap, evalRulesForItems( EDGE_CLEARANCE_CONSTRAINT,
|
gap = std::max( gap, evalRulesForItems( EDGE_CLEARANCE_CONSTRAINT,
|
||||||
aZone, aItem, Edge_Cuts ) );
|
aZone, aItem, aLayer ) );
|
||||||
ignoreLineWidths = true;
|
ignoreLineWidths = true;
|
||||||
}
|
}
|
||||||
else if( aItem->IsOnLayer( Margin ) )
|
else if( aItem->IsOnLayer( Margin ) )
|
||||||
{
|
{
|
||||||
gap = std::max( gap, evalRulesForItems( EDGE_CLEARANCE_CONSTRAINT,
|
gap = std::max( gap, evalRulesForItems( EDGE_CLEARANCE_CONSTRAINT,
|
||||||
aZone, aItem, Margin ) );
|
aZone, aItem, aLayer ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( gap > 0 )
|
if( gap > 0 )
|
||||||
|
|
Loading…
Reference in New Issue