Pcbnew: fix incorrect clearance of oval pads in zone fill.

(The clearance value was only half of the correct value)
This commit is contained in:
jean-pierre charras 2020-06-29 09:57:36 +02:00
parent 224b41e8b1
commit a229e51962
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ void D_PAD::TransformShapeWithClearanceToPolygon( SHAPE_POLY_SET& aCornerBuffer,
RotatePoint( &delta, angle );
TransformOvalToPolygon( aCornerBuffer, padShapePos - delta, padShapePos + delta,
half_width * 2 + aClearanceValue, aError );
( half_width + aClearanceValue ) * 2, aError );
}
break;