NPTH pads can have the hole offset from centre
Fixes https://gitlab.com/kicad/code/kicad/issues/3671
This commit is contained in:
parent
e4cbeeab4c
commit
e800c47406
|
@ -1644,8 +1644,7 @@ bool DIALOG_PAD_PROPERTIES::transferDataToPad( D_PAD* aPad )
|
||||||
|
|
||||||
case PAD_ATTRIB_HOLE_NOT_PLATED:
|
case PAD_ATTRIB_HOLE_NOT_PLATED:
|
||||||
// Mechanical purpose only:
|
// Mechanical purpose only:
|
||||||
// no offset, no net name, no pad name allowed
|
// no net name, no pad name allowed
|
||||||
aPad->SetOffset( wxPoint( 0, 0 ) );
|
|
||||||
aPad->SetName( wxEmptyString );
|
aPad->SetName( wxEmptyString );
|
||||||
aPad->SetNetCode( NETINFO_LIST::UNCONNECTED );
|
aPad->SetNetCode( NETINFO_LIST::UNCONNECTED );
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue