Pcbnew: fix erroneous IslandRemovalMode default mode in board files.
The default is ISLAND_REMOVAL_MODE::ALWAYS in *.kicad_pcb files
This commit is contained in:
parent
e7f379c31d
commit
878c70c1ab
|
@ -5356,6 +5356,9 @@ ZONE* PCB_PARSER::parseZONE( BOARD_ITEM_CONTAINER* aParent )
|
||||||
|
|
||||||
zone->SetAssignedPriority( 0 );
|
zone->SetAssignedPriority( 0 );
|
||||||
|
|
||||||
|
// This is the default for board files:
|
||||||
|
zone->SetIslandRemovalMode( ISLAND_REMOVAL_MODE::ALWAYS );
|
||||||
|
|
||||||
for( token = NextTok(); token != T_RIGHT; token = NextTok() )
|
for( token = NextTok(); token != T_RIGHT; token = NextTok() )
|
||||||
{
|
{
|
||||||
if( token == T_locked )
|
if( token == T_locked )
|
||||||
|
|
|
@ -49,6 +49,7 @@ ZONE::ZONE( BOARD_ITEM_CONTAINER* aParent, bool aInFP ) :
|
||||||
m_CornerSelection = nullptr; // no corner is selected
|
m_CornerSelection = nullptr; // no corner is selected
|
||||||
m_isFilled = false; // fill status : true when the zone is filled
|
m_isFilled = false; // fill status : true when the zone is filled
|
||||||
m_teardropType = TEARDROP_TYPE::TD_NONE;
|
m_teardropType = TEARDROP_TYPE::TD_NONE;
|
||||||
|
m_islandRemovalMode = ISLAND_REMOVAL_MODE::ALWAYS;
|
||||||
m_borderStyle = ZONE_BORDER_DISPLAY_STYLE::DIAGONAL_EDGE;
|
m_borderStyle = ZONE_BORDER_DISPLAY_STYLE::DIAGONAL_EDGE;
|
||||||
m_borderHatchPitch = GetDefaultHatchPitch();
|
m_borderHatchPitch = GetDefaultHatchPitch();
|
||||||
m_priority = 0;
|
m_priority = 0;
|
||||||
|
|
Loading…
Reference in New Issue