Copy Pad_Master when copying BOARD_DESIGN_SETTINGS.
Fixes https://gitlab.com/kicad/code/kicad/issues/10932
(cherry picked from commit d2069e1548
)
This commit is contained in:
parent
de48f41184
commit
b11ec85706
|
@ -751,7 +751,8 @@ void BOARD_DESIGN_SETTINGS::initFromOther( const BOARD_DESIGN_SETTINGS& aOther )
|
||||||
else
|
else
|
||||||
m_netClasses = aOther.m_netClasses;
|
m_netClasses = aOther.m_netClasses;
|
||||||
|
|
||||||
m_defaultZoneSettings = aOther.m_defaultZoneSettings;
|
m_Pad_Master = std::make_unique<PAD>( *aOther.m_Pad_Master );
|
||||||
|
m_defaultZoneSettings = aOther.m_defaultZoneSettings;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue