Browse Source

Cleanup export zone settings for initializing zones (KICAD-EYF).

pull/18/head
Jeff Young 5 months ago
parent
commit
79d17fcb6e
  1. 5
      pcbnew/zone.cpp

5
pcbnew/zone.cpp

@ -84,10 +84,9 @@ ZONE::ZONE( BOARD_ITEM_CONTAINER* aParent ) :
SetIsRuleArea( true ); // Zones living in footprints have the rule area option
if( aParent->GetBoard() )
aParent->GetBoard()->GetDesignSettings().GetDefaultZoneSettings().ExportSetting( *this,
false );
aParent->GetBoard()->GetDesignSettings().GetDefaultZoneSettings().ExportSetting( *this, false );
else
ZONE_SETTINGS().ExportSetting( *this );
ZONE_SETTINGS().ExportSetting( *this, false );
m_needRefill = false; // True only after edits.
}

Loading…
Cancel
Save