DIALOG_PAD_PROPERTIES: fix incorrect pad type for Aperture option.
The aperture option created a Connector pad only on the paste layer. This is incorrect: the SMD type only is acceptable. Connector is *only* for edge card connectors. Moreover, The dialog did not even accept the setting defined by this dialog...
This commit is contained in:
parent
37b6552c42
commit
36acadbd52
|
@ -78,7 +78,9 @@ static PAD_ATTR_T code_type[] =
|
|||
PAD_ATTRIB_SMD,
|
||||
PAD_ATTRIB_CONN,
|
||||
PAD_ATTRIB_HOLE_NOT_PLATED,
|
||||
PAD_ATTRIB_CONN // Aperture pad (type CONN with no copper layers)
|
||||
PAD_ATTRIB_SMD // Aperture pad :type SMD with no copper layers,
|
||||
// only on tech layers (usually only on paste layer)
|
||||
// used when selecting "Aperture pad" to predefine the pad layers
|
||||
};
|
||||
|
||||
// Default mask layers setup for pads according to the pad type
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
///////////////////////////////////////////////////////////////////////////
|
||||
// C++ code generated with wxFormBuilder (version Apr 23 2019)
|
||||
// C++ code generated with wxFormBuilder (version Jul 10 2019)
|
||||
// http://www.wxformbuilder.org/
|
||||
//
|
||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||
|
@ -62,7 +62,7 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind
|
|||
m_staticText44->Wrap( -1 );
|
||||
fgSizerShapeType->Add( m_staticText44, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxLEFT, 3 );
|
||||
|
||||
wxString m_PadTypeChoices[] = { _("Through-hole"), _("SMD"), _("Connector"), _("NPTH, Mechanical"), _("Aperture") };
|
||||
wxString m_PadTypeChoices[] = { _("Through-hole"), _("SMD"), _("Connector"), _("NPTH, Mechanical"), _("SMD Aperture") };
|
||||
int m_PadTypeNChoices = sizeof( m_PadTypeChoices ) / sizeof( wxString );
|
||||
m_PadType = new wxChoice( m_panelGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_PadTypeNChoices, m_PadTypeChoices, 0 );
|
||||
m_PadType->SetSelection( 0 );
|
||||
|
|
|
@ -561,7 +561,7 @@
|
|||
<property name="caption"></property>
|
||||
<property name="caption_visible">1</property>
|
||||
<property name="center_pane">0</property>
|
||||
<property name="choices">"Through-hole" "SMD" "Connector" "NPTH, Mechanical" "Aperture"</property>
|
||||
<property name="choices">"Through-hole" "SMD" "Connector" "NPTH, Mechanical" "SMD Aperture"</property>
|
||||
<property name="close_button">1</property>
|
||||
<property name="context_help"></property>
|
||||
<property name="context_menu">1</property>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
///////////////////////////////////////////////////////////////////////////
|
||||
// C++ code generated with wxFormBuilder (version Apr 23 2019)
|
||||
// C++ code generated with wxFormBuilder (version Jul 10 2019)
|
||||
// http://www.wxformbuilder.org/
|
||||
//
|
||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||
|
|
Loading…
Reference in New Issue