From 05e3ae645d8f996ef05d6038c53ba0278fae04ba Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Mon, 8 Apr 2013 11:01:49 +0200 Subject: [PATCH] Fixed distorted polygons' corner display --- pcbnew/pcb_painter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/pcb_painter.cpp b/pcbnew/pcb_painter.cpp index 3f37e26d6e..2eea8002e0 100644 --- a/pcbnew/pcb_painter.cpp +++ b/pcbnew/pcb_painter.cpp @@ -500,7 +500,7 @@ void PCB_PAINTER::draw( const ZONE_CONTAINER* aContainer ) std::vector polyPoints = aContainer->GetFilledPolysList(); std::deque corners; - m_gal->SetLineCap( LINE_CAP_ROUND ); + m_gal->SetLineCap( LINE_CAP_BUTT ); m_gal->SetLineJoin( LINE_JOIN_ROUND ); m_gal->SetFillColor( fillColor ); m_gal->SetStrokeColor( fillColor );