Line width already factored into polygon shapes

Fixes https://gitlab.com/kicad/code/kicad/-/issues/7130
This commit is contained in:
Roberto Fernandez Bautista 2021-01-15 17:47:17 +00:00 committed by jean-pierre charras
parent e27bd5cf15
commit 49f454e32b
1 changed files with 1 additions and 1 deletions

View File

@ -701,7 +701,7 @@ void BOARD_ADAPTER::addShapeWithClearance( const PCB_SHAPE* aShape,
{
SHAPE_POLY_SET polyList;
aShape->TransformShapeWithClearanceToPolygon( polyList, aLayerId, linewidth / 2,
aShape->TransformShapeWithClearanceToPolygon( polyList, aLayerId, 0,
ARC_HIGH_DEF, ERROR_INSIDE );
polyList.Simplify( SHAPE_POLY_SET::PM_FAST );