Make sure we can handle blank lines in Slice settings files (they have been added manually)

Put in wipe tower and wipe shield (more work on dual extrusion)
This commit is contained in:
larsbrubaker 2014-09-10 10:01:13 -07:00
parent 749bcd06c4
commit 54f406a031
6 changed files with 17 additions and 2 deletions

View file

@ -546,7 +546,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
foreach (string line in lines)
{
//Ignore commented lines
if (!line.StartsWith("#"))
if (line.Trim() != "" && !line.StartsWith("#"))
{
string[] settingLine = line.Split('=');
string keyName = settingLine[0].Trim();