From 182973c0eee9385f2e6aff65ad26cfbb72fabd42 Mon Sep 17 00:00:00 2001 From: Michael Kavanagh Date: Sat, 18 Apr 2020 00:24:38 +0100 Subject: [PATCH] NPTH pads can have the hole offset from centre Fixes https://gitlab.com/kicad/code/kicad/issues/3671 (cherry picked from commit e800c47406fca973c1b6f25840158864f25ae51a) --- pcbnew/dialogs/dialog_pad_properties.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pcbnew/dialogs/dialog_pad_properties.cpp b/pcbnew/dialogs/dialog_pad_properties.cpp index 9e08346560..dbc5f2137a 100644 --- a/pcbnew/dialogs/dialog_pad_properties.cpp +++ b/pcbnew/dialogs/dialog_pad_properties.cpp @@ -1727,8 +1727,7 @@ bool DIALOG_PAD_PROPERTIES::transferDataToPad( D_PAD* aPad ) case PAD_ATTRIB_HOLE_NOT_PLATED: // Mechanical purpose only: - // no offset, no net name, no pad name allowed - aPad->SetOffset( wxPoint( 0, 0 ) ); + // no net name, no pad name allowed aPad->SetName( wxEmptyString ); aPad->SetNetCode( NETINFO_LIST::UNCONNECTED ); break;