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:
parent
224b41e8b1
commit
a229e51962
|
@ -540,7 +540,7 @@ void D_PAD::TransformShapeWithClearanceToPolygon( SHAPE_POLY_SET& aCornerBuffer,
|
||||||
RotatePoint( &delta, angle );
|
RotatePoint( &delta, angle );
|
||||||
|
|
||||||
TransformOvalToPolygon( aCornerBuffer, padShapePos - delta, padShapePos + delta,
|
TransformOvalToPolygon( aCornerBuffer, padShapePos - delta, padShapePos + delta,
|
||||||
half_width * 2 + aClearanceValue, aError );
|
( half_width + aClearanceValue ) * 2, aError );
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue