Added missing outline for polygon segments.
This commit is contained in:
parent
8fda1d2264
commit
f5b0c19830
|
@ -652,6 +652,9 @@ void PCB_PAINTER::draw( const DRAWSEGMENT* aSegment )
|
||||||
|
|
||||||
std::copy( aSegment->GetPolyPoints().begin(), aSegment->GetPolyPoints().end(),
|
std::copy( aSegment->GetPolyPoints().begin(), aSegment->GetPolyPoints().end(),
|
||||||
std::back_inserter( pointsList ) );
|
std::back_inserter( pointsList ) );
|
||||||
|
|
||||||
|
m_gal->SetLineWidth( aSegment->GetWidth() );
|
||||||
|
m_gal->DrawPolyline( pointsList );
|
||||||
m_gal->DrawPolygon( pointsList );
|
m_gal->DrawPolygon( pointsList );
|
||||||
|
|
||||||
m_gal->Restore();
|
m_gal->Restore();
|
||||||
|
|
Loading…
Reference in New Issue