Update SCH_SHAPE::Plot() to handle all fill styles.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16429
This commit is contained in:
parent
ee0fff97f9
commit
1ca82035ae
|
@ -134,7 +134,7 @@ void SCH_SHAPE::Plot( PLOTTER* aPlotter, bool aBackground,
|
||||||
if( !aPlotter->GetColorMode() )
|
if( !aPlotter->GetColorMode() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if( m_fill == FILL_T::FILLED_WITH_COLOR && GetFillColor() != COLOR4D::UNSPECIFIED )
|
if( IsFilled() )
|
||||||
{
|
{
|
||||||
if( GetFillColor() != COLOR4D::UNSPECIFIED )
|
if( GetFillColor() != COLOR4D::UNSPECIFIED )
|
||||||
aPlotter->SetColor( GetFillColor() );
|
aPlotter->SetColor( GetFillColor() );
|
||||||
|
|
Loading…
Reference in New Issue