Custom pads: minor fix in legacy mode related to commit a155289f.

This commit is contained in:
jean-pierre charras 2019-05-09 16:45:25 +02:00
parent c489659a20
commit 654651856f
1 changed files with 2 additions and 1 deletions

View File

@ -566,7 +566,8 @@ void D_PAD::DrawShape( EDA_RECT* aClipBox, wxDC* aDC, PAD_DRAWINFO& aDrawInfo )
SHAPE_POLY_SET clearance_outline;
clearance_outline.Append( outline );
clearance_outline.Inflate( aDrawInfo.m_PadClearance, segmentToCircleCount );
clearance_outline.InflateWithLinkedHoles( aDrawInfo.m_PadClearance,
segmentToCircleCount, SHAPE_POLY_SET::PM_FAST );
for( int jj = 0; jj < clearance_outline.OutlineCount(); ++jj )
{