From 63e91366e224492e3dd7e85813bf75cfbfdcb663 Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Thu, 15 Jun 2023 23:49:24 +0100 Subject: [PATCH] Add variable initializations --- pcbnew/board_design_settings.cpp | 3 +++ pcbnew/router/pns_sizes_settings.h | 1 + 2 files changed, 4 insertions(+) diff --git a/pcbnew/board_design_settings.cpp b/pcbnew/board_design_settings.cpp index 0dabac8dd0..b4199421f8 100644 --- a/pcbnew/board_design_settings.cpp +++ b/pcbnew/board_design_settings.cpp @@ -835,6 +835,7 @@ void BOARD_DESIGN_SETTINGS::initFromOther( const BOARD_DESIGN_SETTINGS& aOther ) m_DiffPairDimensionsList = aOther.m_DiffPairDimensionsList; m_CurrentViaType = aOther.m_CurrentViaType; m_UseConnectedTrackWidth = aOther.m_UseConnectedTrackWidth; + m_TempOverrideTrackWidth = aOther.m_TempOverrideTrackWidth; m_MinClearance = aOther.m_MinClearance; m_MinConn = aOther.m_MinConn; m_TrackMinWidth = aOther.m_TrackMinWidth; @@ -847,6 +848,7 @@ void BOARD_DESIGN_SETTINGS::initFromOther( const BOARD_DESIGN_SETTINGS& aOther ) m_HoleClearance = aOther.m_HoleClearance; m_HoleToHoleMin = aOther.m_HoleToHoleMin; m_SilkClearance = aOther.m_SilkClearance; + m_MinResolvedSpokes = aOther.m_MinResolvedSpokes; m_MinSilkTextHeight = aOther.m_MinSilkTextHeight; m_MinSilkTextThickness = aOther.m_MinSilkTextThickness; m_DRCSeverities = aOther.m_DRCSeverities; @@ -858,6 +860,7 @@ void BOARD_DESIGN_SETTINGS::initFromOther( const BOARD_DESIGN_SETTINGS& aOther ) m_SolderMaskToCopperClearance = aOther.m_SolderMaskToCopperClearance; m_SolderPasteMargin = aOther.m_SolderPasteMargin; m_SolderPasteMarginRatio = aOther.m_SolderPasteMarginRatio; + m_AllowSoldermaskBridgesInFPs = aOther.m_AllowSoldermaskBridgesInFPs; m_DefaultFPTextItems = aOther.m_DefaultFPTextItems; std::copy( std::begin( aOther.m_LineThickness ), std::end( aOther.m_LineThickness ), diff --git a/pcbnew/router/pns_sizes_settings.h b/pcbnew/router/pns_sizes_settings.h index 84e17c725f..38d02aa4a4 100644 --- a/pcbnew/router/pns_sizes_settings.h +++ b/pcbnew/router/pns_sizes_settings.h @@ -42,6 +42,7 @@ public: m_minClearance( 0 ), m_trackWidth( 155000 ), m_trackWidthIsExplicit( true ), + m_boardMinTrackWidth( 0 ), m_viaType( VIATYPE::THROUGH ), m_viaDiameter( 600000 ), m_viaDrill( 250000 ),