Some minor cleanup.

This commit is contained in:
Jeff Young 2018-07-19 21:46:16 +01:00
parent ba0c823673
commit e02fe83a71
2 changed files with 3 additions and 18 deletions

View File

@ -86,11 +86,6 @@ extern bool g_Alternate_Track_Posture;
extern PCB_LAYER_ID g_Route_Layer_TOP; extern PCB_LAYER_ID g_Route_Layer_TOP;
extern PCB_LAYER_ID g_Route_Layer_BOTTOM; extern PCB_LAYER_ID g_Route_Layer_BOTTOM;
extern bool g_TwoSegmentTrackBuild;
extern int g_MagneticPadOption;
extern int g_MagneticTrackOption;
extern wxPoint g_Offset_Module; // Offset trace when moving footprint. extern wxPoint g_Offset_Module; // Offset trace when moving footprint.
/// List of segments of the trace currently being drawn. /// List of segments of the trace currently being drawn.

View File

@ -249,21 +249,11 @@ PARAM_CFG_ARRAY& PCB_EDIT_FRAME::GetConfigurationSettings()
m_configParams.push_back( new PARAM_CFG_INT( true, wxT( "PcbShowZonesMode" ), m_configParams.push_back( new PARAM_CFG_INT( true, wxT( "PcbShowZonesMode" ),
&displ_opts->m_DisplayZonesMode, 0, 0, 2 ) ); &displ_opts->m_DisplayZonesMode, 0, 0, 2 ) );
// layer colors:
// Miscellaneous: // Miscellaneous:
m_configParams.push_back( new PARAM_CFG_INT( true, wxT( "RotationAngle" ), &m_rotationAngle, m_configParams.push_back( new PARAM_CFG_INT( true, wxT( "RotationAngle" ),
900, 1, 900 ) ); &m_rotationAngle, 900, 1, 900 ) );
m_configParams.push_back( new PARAM_CFG_INT( true, wxT( "MaxLnkS" ), m_configParams.push_back( new PARAM_CFG_INT( true, wxT( "MaxLnkS" ),
&displ_opts->m_MaxLinksShowed, &displ_opts->m_MaxLinksShowed, 3, 0, 15 ) );
3, 0, 15 ) );
//FIXMEd
/* m_configParams.push_back( new PARAM_CFG_BOOL( true, wxT( "TwoSegT" ),
&g_TwoSegmentTrackBuild, true ) );
m_configParams.push_back( new PARAM_CFG_BOOL( true, wxT( "SegmPcb45Only" )
, &g_Segments_45_Only, true ) );*/
} }
return m_configParams; return m_configParams;