PANEL_SETUP_BOARD_STACKUP: save the m_HasDielectricConstrains BOARD_STACKUP member.
This member was not saved in the board stackup data. From master branch. Fixes #15690 https://gitlab.com/kicad/code/kicad/-/issues/15690
This commit is contained in:
parent
83d2891cef
commit
a74cffac39
|
@ -616,6 +616,7 @@ void BOARD_STACKUP::BuildDefaultStackupList( const BOARD_DESIGN_SETTINGS* aSetti
|
||||||
{
|
{
|
||||||
const BOARD_STACKUP& source_stackup = aSettings->GetStackupDescriptor();
|
const BOARD_STACKUP& source_stackup = aSettings->GetStackupDescriptor();
|
||||||
m_EdgeConnectorConstraints = source_stackup.m_EdgeConnectorConstraints;
|
m_EdgeConnectorConstraints = source_stackup.m_EdgeConnectorConstraints;
|
||||||
|
m_HasDielectricConstrains = source_stackup.m_HasDielectricConstrains;
|
||||||
m_CastellatedPads = source_stackup.m_CastellatedPads;
|
m_CastellatedPads = source_stackup.m_CastellatedPads;
|
||||||
m_EdgePlating = source_stackup.m_EdgePlating;
|
m_EdgePlating = source_stackup.m_EdgePlating;
|
||||||
m_FinishType = source_stackup.m_FinishType;
|
m_FinishType = source_stackup.m_FinishType;
|
||||||
|
|
|
@ -1271,6 +1271,12 @@ bool PANEL_SETUP_BOARD_STACKUP::TransferDataFromWindow()
|
||||||
modified = true;
|
modified = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( brd_stackup.m_HasDielectricConstrains != m_impedanceControlled->GetValue() )
|
||||||
|
{
|
||||||
|
brd_stackup.m_HasDielectricConstrains = m_impedanceControlled->GetValue();
|
||||||
|
modified = true;
|
||||||
|
}
|
||||||
|
|
||||||
if( !m_brdSettings->m_HasStackup )
|
if( !m_brdSettings->m_HasStackup )
|
||||||
{
|
{
|
||||||
m_brdSettings->m_HasStackup = true;
|
m_brdSettings->m_HasStackup = true;
|
||||||
|
|
Loading…
Reference in New Issue