Line width already factored in to rectangle polygon.

Fixes https://gitlab.com/kicad/code/kicad/issues/7113
This commit is contained in:
Jeff Young 2021-01-14 16:53:57 +00:00
parent 02ccd5fbdb
commit ee6ec2c35c
1 changed files with 1 additions and 1 deletions

View File

@ -639,7 +639,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 );