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:
parent
a16e9ac76a
commit
182973c0ee
|
@ -1727,8 +1727,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