Fix uninitialized variables.
especially BOARD_DESIGN_SETTINGS::m_HoleToHoleMin was not initialized, but used in pcbnew when creating a new board
This commit is contained in:
parent
bae50fab9f
commit
bfe2fbf991
|
@ -495,6 +495,7 @@ BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS() :
|
|||
m_MicroViasMinSize = Millimeter2iu( DEFAULT_MICROVIASMINSIZE );
|
||||
m_MicroViasMinDrill = Millimeter2iu( DEFAULT_MICROVIASMINDRILL );
|
||||
m_CopperEdgeClearance = Millimeter2iu( DEFAULT_COPPEREDGECLEARANCE );
|
||||
m_HoleToHoleMin = Millimeter2iu( DEFAULT_HOLETOHOLEMIN );
|
||||
|
||||
m_MaxError = ARC_HIGH_DEF;
|
||||
m_ZoneUseNoOutlineInFill = false; // Use compatibility mode by default
|
||||
|
|
|
@ -67,6 +67,7 @@ struct CREATE_ARRAY_DIALOG_ENTRIES
|
|||
m_circAngle( 0.0 ),
|
||||
m_circCount( 4 ),
|
||||
m_circNumberingStartSet( 1 ), // use specified start
|
||||
m_gridCircNumScheme( 0 ),
|
||||
m_circNumberingOffset( "1" ),
|
||||
m_circNumberingStep( 1 ),
|
||||
m_circRotate( false ),
|
||||
|
|
|
@ -30,7 +30,7 @@ class PAGED_DIALOG;
|
|||
class PANEL_MODEDIT_DISPLAY_OPTIONS : public wxPanel
|
||||
{
|
||||
public:
|
||||
PANEL_MODEDIT_DISPLAY_OPTIONS( FOOTPRINT_EDIT_FRAME* aParent, PAGED_DIALOG* aWindow );
|
||||
PANEL_MODEDIT_DISPLAY_OPTIONS( FOOTPRINT_EDIT_FRAME* aFrame, PAGED_DIALOG* aParent );
|
||||
|
||||
private:
|
||||
bool TransferDataToWindow() override;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue