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:
Seth Hillbrand 2019-01-22 19:01:32 -08:00
parent 823dce1a50
commit 0c723778f0
1 changed files with 4 additions and 0 deletions

View File

@ -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 )