minor fix for commit eb250b4cb

This commit is contained in:
jean-pierre charras 2020-03-24 18:43:15 +01:00
parent eb250b4cb0
commit 5f60d955be
1 changed files with 1 additions and 1 deletions

View File

@ -861,7 +861,7 @@ void PCB_PAINTER::draw( const D_PAD* aPad, int aLayer )
{
wxSize pad_size = aPad->GetSize();
wxSize margin = aPad->GetSolderPasteMargin();
const_cast<D_PAD*>(aPad)->SetSize( pad_size + margin );
const_cast<D_PAD*>(aPad)->SetSize( pad_size + margin + margin );
aPad->TransformShapeWithClearanceToPolygon( polySet, 0 );
const_cast<D_PAD*>(aPad)->SetSize( pad_size );
}