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:
Seth Hillbrand 2019-06-22 08:24:36 -07:00
parent d80759efb8
commit 463e061740
1 changed files with 3 additions and 0 deletions

View File

@ -127,6 +127,9 @@ bool DIALOG_NON_COPPER_ZONES_EDITOR::TransferDataFromWindow()
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() )
{
case 0: m_settings.m_Zone_HatchingStyle = ZONE_CONTAINER::NO_HATCH; break;