Convert (island) to (island yes).

This commit is contained in:
Jeff Young 2025-08-05 12:10:08 +01:00
parent d3f2bec6a6
commit 5a70fc0bd5
2 changed files with 2 additions and 3 deletions

View File

@ -2711,7 +2711,7 @@ void PCB_IO_KICAD_SEXPR::format( const ZONE* aZone ) const
m_out->Print( "(layer %s)", m_out->Quotew( LSET::Name( layer ) ).c_str() );
if( aZone->IsIsland( layer, ii ) )
m_out->Print( "(island)" );
KICAD_FORMAT::FormatBool( m_out, "island", true );
const SHAPE_LINE_CHAIN& chain = fv->COutline( ii );

View File

@ -7405,8 +7405,7 @@ ZONE* PCB_IO_KICAD_SEXPR_PARSER::parseZONE( BOARD_ITEM_CONTAINER* aParent )
if( token == T_island )
{
island = true;
NeedRIGHT();
island = parseMaybeAbsentBool( true );
NeedLEFT();
token = NextTok();
}