Added missing outline for polygon segments.

This commit is contained in:
Maciej Suminski 2013-07-31 13:35:02 +02:00
parent 8fda1d2264
commit f5b0c19830
1 changed files with 3 additions and 0 deletions

View File

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