Prevent bed validation for GCode files

- Issue MatterHackers/MatterControl#4611
Empty bed will not print
This commit is contained in:
jlewin 2019-06-14 14:13:23 -07:00
parent 21afe4e86d
commit 3f080cb6b2
5 changed files with 8 additions and 6 deletions

View file

@ -446,7 +446,7 @@ namespace MatterHackers.MatterControl
}
// Concatenate printer and settings errors
errors.AddRange(printer.ValidateSettings());
errors.AddRange(printer.ValidateSettings(validatePrintBed: !printer.Bed.EditContext.IsGGCodeSource));
return errors;
}