From b597a4559f8408add20766c4499cd7a3fc8af677 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 (cherry picked from commit 1ca82035aefcd78c6591a3ec22bcefe3fe03513d) --- 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 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() );