Allow 5.0 to read 6.0 files with hole-to-hole clearance settings.

This commit is contained in:
Jeff Young 2018-03-16 00:48:35 +00:00
parent a1a4275e8b
commit 0a4c04530a
2 changed files with 8 additions and 1 deletions

View File

@ -93,6 +93,7 @@ gr_poly
gr_text gr_text
hatch hatch
hide hide
hole_to_hole_min
italic italic
justify justify
keepout keepout

View File

@ -1191,8 +1191,14 @@ void PCB_PARSER::parseSetup()
} }
break; break;
case T_hole_to_hole_min:
// Not implemented yet...
parseBoardUnits( T_hole_to_hole_min );
NeedRIGHT();
break;
case T_pad_to_mask_clearance: case T_pad_to_mask_clearance:
designSettings.m_SolderMaskMargin = parseBoardUnits( T_pad_to_mask_clearance ); designSettings.m_SolderMaskMargin = parseBoardUnits( T_pad_to_mask_clearance );
NeedRIGHT(); NeedRIGHT();
break; break;