Don't fill polygons converted from lines.
The lines couldn't have been filled, so the polygon shouldn't start out filled either. The user can set it to filled if they want. Fixes https://gitlab.com/kicad/code/kicad/issues/7867
This commit is contained in:
parent
4b88d4beed
commit
ea9c269914
|
@ -186,7 +186,7 @@ int CONVERT_TOOL::LinesToPoly( const TOOL_EVENT& aEvent )
|
|||
PCB_SHAPE* graphic = isFootprint ? new FP_SHAPE( parentFootprint ) : new PCB_SHAPE;
|
||||
|
||||
graphic->SetShape( S_POLYGON );
|
||||
graphic->SetFilled( destLayer != Edge_Cuts );
|
||||
graphic->SetFilled( false );
|
||||
graphic->SetLayer( destLayer );
|
||||
graphic->SetPolyShape( poly );
|
||||
|
||||
|
|
Loading…
Reference in New Issue