diff --git a/pcbnew/pcb_painter.cpp b/pcbnew/pcb_painter.cpp index 0661606f95..4e5c31e689 100644 --- a/pcbnew/pcb_painter.cpp +++ b/pcbnew/pcb_painter.cpp @@ -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(aPad)->SetSize( pad_size + margin ); + const_cast(aPad)->SetSize( pad_size + margin + margin ); aPad->TransformShapeWithClearanceToPolygon( polySet, 0 ); const_cast(aPad)->SetSize( pad_size ); }