NPTH pads can have the hole offset from centre

Fixes https://gitlab.com/kicad/code/kicad/issues/3671

(cherry picked from commit e800c47406)
This commit is contained in:
Michael Kavanagh 2020-04-18 00:24:38 +01:00 committed by Wayne Stambaugh
parent a16e9ac76a
commit 182973c0ee
1 changed files with 1 additions and 2 deletions

View File

@ -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;