Rework on Enum PAD_SHAPE_T, PAD_DRILL_SHAPE_T and PAD_ATTR_T (see rev 6008) : the new and better names are now used in Kicad code and existing python scripts.
PAD_SHAPE_T and PAD_ATTR_T still have a double definition (new names and old names) to be sure python scripts are nor broken by the change. PAD_DRILL_SHAPE_T does not have a double definition, because it is unlikely oblong holes are used in python scripts. Double definitions will be removed in the (next) future.
This commit is contained in:
+1
-1
@@ -979,7 +979,7 @@ void PCB_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event )
|
||||
if( itmp >= 0 )
|
||||
{
|
||||
// if user changed colors and we are in high contrast mode, then redraw
|
||||
// because the PAD_SMD pads may change color.
|
||||
// because the PAD_ATTRIB_SMD pads may change color.
|
||||
if( displ_opts->m_ContrastModeDisplay && GetActiveLayer() != itmp )
|
||||
{
|
||||
m_canvas->Refresh();
|
||||
|
||||
Reference in New Issue
Block a user