Flip all layers of a zone.
Fixes https://gitlab.com/kicad/code/kicad/issues/10621
This commit is contained in:
parent
a24912d01d
commit
6ccaf5e27d
|
@ -717,10 +717,7 @@ void ZONE::Flip( const wxPoint& aCentre, bool aFlipLeftRight )
|
|||
Mirror( aCentre, aFlipLeftRight );
|
||||
int copperLayerCount = GetBoard()->GetCopperLayerCount();
|
||||
|
||||
if( GetIsRuleArea() )
|
||||
SetLayerSet( FlipLayerMask( GetLayerSet(), copperLayerCount ) );
|
||||
else
|
||||
SetLayer( FlipLayer( GetLayer(), copperLayerCount ) );
|
||||
SetLayerSet( FlipLayerMask( GetLayerSet(), copperLayerCount ) );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue