From 7fb15269d16a15810a9d8d1aac1c8943a254b726 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 29 Jul 2023 09:43:32 +0200 Subject: [PATCH] PANEL_SETUP_BOARD_STACKUP: do not try to init params managed by PANEL_SETUP_BOARD_FINISH From master branch Fixes #15288 https://gitlab.com/kicad/code/kicad/-/issues/15288 --- pcbnew/board_stackup_manager/panel_board_stackup.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pcbnew/board_stackup_manager/panel_board_stackup.cpp b/pcbnew/board_stackup_manager/panel_board_stackup.cpp index e484db1547..85748beee5 100644 --- a/pcbnew/board_stackup_manager/panel_board_stackup.cpp +++ b/pcbnew/board_stackup_manager/panel_board_stackup.cpp @@ -1243,7 +1243,6 @@ bool PANEL_SETUP_BOARD_STACKUP::TransferDataFromWindow() // on that panel and it doesn't make sense to split it up. BOARD_STACKUP& brd_stackup = m_brdSettings->GetStackupDescriptor(); - STRING_FORMATTER old_stackup; // FormatBoardStackup() (using FormatInternalUnits()) expects a "C" locale @@ -1251,12 +1250,6 @@ bool PANEL_SETUP_BOARD_STACKUP::TransferDataFromWindow() LOCALE_IO dummy; brd_stackup.FormatBoardStackup( &old_stackup, m_board, 0 ); - brd_stackup.m_FinishType = m_stackup.m_FinishType; - brd_stackup.m_HasDielectricConstrains = m_stackup.m_HasDielectricConstrains; - brd_stackup.m_EdgeConnectorConstraints = m_stackup.m_EdgeConnectorConstraints; - brd_stackup.m_CastellatedPads = m_stackup.m_CastellatedPads; - brd_stackup.m_EdgePlating = m_stackup.m_EdgePlating; - // copy enabled items to the new board stackup brd_stackup.RemoveAll();