From f5b0c19830d8bfa7092590d0e033d985e223df85 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 31 Jul 2013 13:35:02 +0200 Subject: [PATCH] Added missing outline for polygon segments. --- pcbnew/pcb_painter.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pcbnew/pcb_painter.cpp b/pcbnew/pcb_painter.cpp index 42da3ef3dd..b2ff0b483b 100644 --- a/pcbnew/pcb_painter.cpp +++ b/pcbnew/pcb_painter.cpp @@ -652,6 +652,9 @@ void PCB_PAINTER::draw( const DRAWSEGMENT* aSegment ) std::copy( aSegment->GetPolyPoints().begin(), aSegment->GetPolyPoints().end(), std::back_inserter( pointsList ) ); + + m_gal->SetLineWidth( aSegment->GetWidth() ); + m_gal->DrawPolyline( pointsList ); m_gal->DrawPolygon( pointsList ); m_gal->Restore();