From 5eee88b78af02cf9ccee7ad70e12d02dca4d14e4 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 7 Mar 2019 21:09:03 +0100 Subject: [PATCH] Pcbnew, Draw zones in GAL mode: fix missing initialization of line color. It is noticeable only in printing mode. Fixes: lp:1818971 https://bugs.launchpad.net/kicad/+bug/1818971 --- pcbnew/pcb_painter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/pcb_painter.cpp b/pcbnew/pcb_painter.cpp index e833e9276a..cc2a60c130 100644 --- a/pcbnew/pcb_painter.cpp +++ b/pcbnew/pcb_painter.cpp @@ -1140,6 +1140,7 @@ void PCB_PAINTER::draw( const ZONE_CONTAINER* aZone, int aLayer ) return; // Set up drawing options + m_gal->SetStrokeColor( color ); m_gal->SetFillColor( color ); m_gal->SetLineWidth( aZone->GetMinThickness() );