From 1ca82035aefcd78c6591a3ec22bcefe3fe03513d Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 21 Dec 2023 22:06:14 +0000 Subject: [PATCH] Update SCH_SHAPE::Plot() to handle all fill styles. Fixes https://gitlab.com/kicad/code/kicad/-/issues/16429 --- eeschema/sch_shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() );