diff --git a/eeschema/sch_shape.cpp b/eeschema/sch_shape.cpp index 8c47fb50c1..675a6ade74 100644 --- a/eeschema/sch_shape.cpp +++ b/eeschema/sch_shape.cpp @@ -134,7 +134,7 @@ void SCH_SHAPE::Plot( PLOTTER* aPlotter, bool aBackground, if( !aPlotter->GetColorMode() ) return; - if( m_fill == FILL_T::FILLED_WITH_COLOR && GetFillColor() != COLOR4D::UNSPECIFIED ) + if( IsFilled() ) { if( GetFillColor() != COLOR4D::UNSPECIFIED ) aPlotter->SetColor( GetFillColor() );