Allow shorting copper zones through negative clearance
This brings the zone filler in line with other places where
we use negative clearance rules to disable constraints.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14069
(cherry picked from commit b176881d49
)
This commit is contained in:
parent
5b574901b3
commit
e34800ad49
|
@ -1263,6 +1263,10 @@ void ZONE_FILLER::buildCopperItemClearances( const ZONE* aZone, PCB_LAYER_ID aLa
|
|||
if( checkForCancel( m_progressReporter ) )
|
||||
return;
|
||||
|
||||
// Negative clearance permits zones to short
|
||||
if( evalRulesForItems( CLEARANCE_CONSTRAINT, aZone, otherZone, aLayer ) < 0 )
|
||||
continue;
|
||||
|
||||
if( otherZone->GetIsRuleArea() )
|
||||
{
|
||||
if( otherZone->GetDoNotAllowCopperPour() && !aZone->IsTeardropArea() )
|
||||
|
|
Loading…
Reference in New Issue