diff --git a/eeschema/sch_shape.cpp b/eeschema/sch_shape.cpp index e239af3571..f5cf2e0ec1 100644 --- a/eeschema/sch_shape.cpp +++ b/eeschema/sch_shape.cpp @@ -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() );