Zones: layer set must be initialized after m_isRuleArea
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6814
This commit is contained in:
parent
98c437e70f
commit
d13de9c6c1
|
@ -119,9 +119,9 @@ void ZONE::InitDataFromSrcInCopyCtor( const ZONE& aZone )
|
|||
m_cornerSmoothingType = aZone.m_cornerSmoothingType;
|
||||
m_cornerRadius = aZone.m_cornerRadius;
|
||||
m_zoneName = aZone.m_zoneName;
|
||||
SetLayerSet( aZone.GetLayerSet() );
|
||||
m_priority = aZone.m_priority;
|
||||
m_isRuleArea = aZone.m_isRuleArea;
|
||||
SetLayerSet( aZone.GetLayerSet() );
|
||||
|
||||
m_doNotAllowCopperPour = aZone.m_doNotAllowCopperPour;
|
||||
m_doNotAllowVias = aZone.m_doNotAllowVias;
|
||||
|
|
Loading…
Reference in New Issue