Pcbnew: Graphic polygon items are now drawn in sketch mode when the sketch mode is selected.

This commit is contained in:
jean-pierre charras 2019-04-01 12:50:47 +02:00
parent 0f1ab3be2d
commit 9d97c053b4
1 changed files with 4 additions and 1 deletions

View File

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