Fixed distorted polygons' corner display

This commit is contained in:
Maciej Suminski 2013-04-08 11:01:49 +02:00
parent 664692b2e6
commit 05e3ae645d
1 changed files with 1 additions and 1 deletions

View File

@ -500,7 +500,7 @@ void PCB_PAINTER::draw( const ZONE_CONTAINER* aContainer )
std::vector<CPolyPt> polyPoints = aContainer->GetFilledPolysList(); std::vector<CPolyPt> polyPoints = aContainer->GetFilledPolysList();
std::deque<VECTOR2D> corners; std::deque<VECTOR2D> corners;
m_gal->SetLineCap( LINE_CAP_ROUND ); m_gal->SetLineCap( LINE_CAP_BUTT );
m_gal->SetLineJoin( LINE_JOIN_ROUND ); m_gal->SetLineJoin( LINE_JOIN_ROUND );
m_gal->SetFillColor( fillColor ); m_gal->SetFillColor( fillColor );
m_gal->SetStrokeColor( fillColor ); m_gal->SetStrokeColor( fillColor );