altium: fix compilation issue due to rebase

This commit is contained in:
Thomas Pointhuber 2020-10-15 09:51:53 +02:00 committed by Jon Evans
parent 1400e5cdb9
commit a981ffe8c7
1 changed files with 5 additions and 10 deletions

View File

@ -883,17 +883,12 @@ void SCH_ALTIUM_PLUGIN::ParseRoundRectangle( const std::map<wxString, wxString>&
rect->SetEnd( GetRelativePosition( elem.bottomLeft, component ) );
rect->SetWidth( elem.lineWidth );
if( elem.isSolid )
{
if( elem.color == elem.areacolor )
rect->SetFillMode( FILLED_SHAPE );
else
rect->SetFillMode( FILLED_WITH_BG_BODYCOLOR );
}
if( !elem.isSolid )
rect->SetFillMode( FILL_TYPE::NO_FILL );
else if( elem.color == elem.areacolor )
rect->SetFillMode( FILL_TYPE::FILLED_SHAPE );
else
{
rect->SetFillMode( NO_FILL );
}
rect->SetFillMode( FILL_TYPE::FILLED_WITH_BG_BODYCOLOR );
}
}