Add conditional logic for bed validation
- Issue MatterHackers/MCCentral#5397 export as gcode test failing due to empty bed requirement
This commit is contained in:
parent
1107610bda
commit
50f3dab1a0
4 changed files with 6 additions and 5 deletions
|
|
@ -124,7 +124,7 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
if (gcodeExportButton.Checked)
|
||||
{
|
||||
var errors = printer.ValidateSettings();
|
||||
var errors = printer.ValidateSettings(validatePrintBed: false);
|
||||
|
||||
exportButton.Enabled = !errors.Any(item => item.ErrorLevel == ValidationErrorLevel.Error);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue