Fix bug with doubling the pad corner radius twice.

This commit is contained in:
Jeff Young 2020-04-29 11:06:42 +01:00
parent dfe4a00d43
commit bba2fa3028
1 changed files with 1 additions and 1 deletions

View File

@ -873,7 +873,7 @@ bool DRC::checkClearanceSegmToPad( const SEG& refSeg, int refSegWidth, const D_P
// RECT (size - 2*r) with a clearance increased by r
if( pad->GetShape() == PAD_SHAPE_ROUNDRECT )
{
padBBox.Inflate( -2 * pad->GetRoundRectCornerRadius() );
padBBox.Inflate( - pad->GetRoundRectCornerRadius() );
widths += pad->GetRoundRectCornerRadius();
}