pcbnew: Set default missing soldermask min width
When loading an existing file, a missing value in the soldermask min
width value should not be interpreted as a default value but rather as a
0 value. This corrects an issue introduced by 4d709d2392
This commit is contained in:
parent
823dce1a50
commit
0c723778f0
|
@ -1111,6 +1111,10 @@ void PCB_PARSER::parseSetup()
|
|||
BOARD_DESIGN_SETTINGS designSettings = m_board->GetDesignSettings();
|
||||
ZONE_SETTINGS zoneSettings = m_board->GetZoneSettings();
|
||||
|
||||
// Missing soldermask min width value means that the user has set the value to 0 and
|
||||
// not the default value (0.25mm)
|
||||
designSettings.m_SolderMaskMinWidth = 0;
|
||||
|
||||
for( token = NextTok(); token != T_RIGHT; token = NextTok() )
|
||||
{
|
||||
if( token != T_LEFT )
|
||||
|
|
Loading…
Reference in New Issue