From 585fac19c6b464f4964e1559641f96d69683283b Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 21 Oct 2022 00:04:33 +0100 Subject: [PATCH] Copy connected-only and keep-top-bottom properties. Fixes https://gitlab.com/kicad/code/kicad/issues/12691 --- pcbnew/pad.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pcbnew/pad.cpp b/pcbnew/pad.cpp index 806fdd2b7b..814708b12b 100644 --- a/pcbnew/pad.cpp +++ b/pcbnew/pad.cpp @@ -1482,6 +1482,9 @@ void PAD::ImportSettingsFrom( const PAD& aMasterPad ) SetOrientation( pad_rot ); + SetRemoveUnconnected( aMasterPad.GetRemoveUnconnected() ); + SetKeepTopBottom( aMasterPad.GetKeepTopBottom() ); + SetSize( aMasterPad.GetSize() ); SetDelta( VECTOR2I( 0, 0 ) ); SetOffset( aMasterPad.GetOffset() );