From 99e4ce0ae8255bd8933e88403e31799641c5603c Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 3 Oct 2025 20:05:31 +0200 Subject: [PATCH] Eeschema: fix incorrect plot of filled polygons and bezier shapes. Fill was plotted using a transparent color (opacity = 0). Fixes https://gitlab.com/kicad/code/kicad/-/issues/21804 --- eeschema/sch_shape.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eeschema/sch_shape.cpp b/eeschema/sch_shape.cpp index 470d366eb9..bf2110f43a 100644 --- a/eeschema/sch_shape.cpp +++ b/eeschema/sch_shape.cpp @@ -229,6 +229,10 @@ void SCH_SHAPE::Plot( PLOTTER* aPlotter, bool aBackground, const SCH_PLOT_OPTS& return; color = GetFillColor(); + + if( color == COLOR4D::UNSPECIFIED ) + color = renderSettings->GetLayerColor( m_layer ); + break; case FILL_T::FILLED_WITH_BG_BODYCOLOR: