Pcbnew: Graphic polygon items are now drawn in sketch mode when the sketch mode is selected.
This commit is contained in:
parent
0f1ab3be2d
commit
9d97c053b4
|
@ -981,7 +981,10 @@ void PCB_PAINTER::draw( const DRAWSEGMENT* aSegment, int aLayer )
|
||||||
|
|
||||||
m_gal->SetLineWidth( thickness );
|
m_gal->SetLineWidth( thickness );
|
||||||
|
|
||||||
m_gal->SetIsFill( aSegment->IsPolygonFilled() );
|
if( sketch )
|
||||||
|
m_gal->SetIsFill( false );
|
||||||
|
else
|
||||||
|
m_gal->SetIsFill( aSegment->IsPolygonFilled() );
|
||||||
|
|
||||||
m_gal->SetIsStroke( true );
|
m_gal->SetIsStroke( true );
|
||||||
m_gal->DrawPolygon( shape );
|
m_gal->DrawPolygon( shape );
|
||||||
|
|
Loading…
Reference in New Issue