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