Commit 05e3ae64 authored by Maciej Suminski's avatar Maciej Suminski

Fixed distorted polygons' corner display

parent 664692b2
...@@ -500,7 +500,7 @@ void PCB_PAINTER::draw( const ZONE_CONTAINER* aContainer ) ...@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment