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
This commit is contained in:
jean-pierre charras 2019-03-07 21:09:03 +01:00
parent 26acd39129
commit 5eee88b78a
1 changed files with 1 additions and 0 deletions

View File

@ -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() );