Resetting polygon inflate/deflate defaults

These are used in too many places throughout pcbnew to change all
polygons.  If we need different rounding, we'll want to implement them
on a per-call basis.
This commit is contained in:
Seth Hillbrand 2019-07-16 11:46:18 -07:00
parent f2db7ecbe4
commit ae0bdb96e5
1 changed files with 2 additions and 2 deletions

View File

@ -885,10 +885,10 @@ class SHAPE_POLY_SET : public SHAPE
* ROUND_ALL_CORNERS to round regardless of angles
*/
void Inflate( int aAmount, int aCircleSegmentsCount,
CORNER_STRATEGY aCornerStrategy = CHOP_ACUTE_CORNERS );
CORNER_STRATEGY aCornerStrategy = ROUND_ALL_CORNERS );
void Deflate( int aAmount, int aCircleSegmentsCount,
CORNER_STRATEGY aCornerStrategy = CHOP_ACUTE_CORNERS )
CORNER_STRATEGY aCornerStrategy = ROUND_ALL_CORNERS )
{
Inflate( -aAmount, aCircleSegmentsCount, aCornerStrategy );
}