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,6 +981,9 @@ void PCB_PAINTER::draw( const DRAWSEGMENT* aSegment, int aLayer )
|
||||||
|
|
||||||
m_gal->SetLineWidth( thickness );
|
m_gal->SetLineWidth( thickness );
|
||||||
|
|
||||||
|
if( sketch )
|
||||||
|
m_gal->SetIsFill( false );
|
||||||
|
else
|
||||||
m_gal->SetIsFill( aSegment->IsPolygonFilled() );
|
m_gal->SetIsFill( aSegment->IsPolygonFilled() );
|
||||||
|
|
||||||
m_gal->SetIsStroke( true );
|
m_gal->SetIsStroke( true );
|
||||||
|
|
Loading…
Reference in New Issue