Clear non-copper edge rounding
Non-copper zones do not have a fillet/chamfer option, so we need to clear it before the zone tool uses the last-used option. Fixes: lp:1833672 * https://bugs.launchpad.net/kicad/+bug/1833672
This commit is contained in:
parent
d80759efb8
commit
463e061740
|
@ -127,6 +127,9 @@ bool DIALOG_NON_COPPER_ZONES_EDITOR::TransferDataFromWindow()
|
||||||
|
|
||||||
m_settings.m_FillMode = ZFM_POLYGONS; // Use always polygon fill mode
|
m_settings.m_FillMode = ZFM_POLYGONS; // Use always polygon fill mode
|
||||||
|
|
||||||
|
// No option to control in non-copper zones
|
||||||
|
m_settings.SetCornerSmoothingType( ZONE_SETTINGS::SMOOTHING_NONE );
|
||||||
|
|
||||||
switch( m_OutlineAppearanceCtrl->GetSelection() )
|
switch( m_OutlineAppearanceCtrl->GetSelection() )
|
||||||
{
|
{
|
||||||
case 0: m_settings.m_Zone_HatchingStyle = ZONE_CONTAINER::NO_HATCH; break;
|
case 0: m_settings.m_Zone_HatchingStyle = ZONE_CONTAINER::NO_HATCH; break;
|
||||||
|
|
Loading…
Reference in New Issue