NPTH pads can have the hole offset from centre

Fixes https://gitlab.com/kicad/code/kicad/issues/3671
This commit is contained in:
Michael Kavanagh 2020-04-18 00:24:38 +01:00 committed by Ian McInerney
parent e4cbeeab4c
commit e800c47406
1 changed files with 1 additions and 2 deletions

View File

@ -1644,8 +1644,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;