Check for null
issue: MatterHackers/MCCentral#5782 Should be able to export STLs from a design tab
This commit is contained in:
parent
245942b5ef
commit
2c0b0a8716
1 changed files with 2 additions and 1 deletions
|
|
@ -301,7 +301,8 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
public static bool SetupRequired(PrinterConfig printer, bool requiresLoadedFilament)
|
||||
{
|
||||
return LevelingValidation.NeedsToBeRun(printer) // PrintLevelingWizard
|
||||
return printer == null
|
||||
|| LevelingValidation.NeedsToBeRun(printer) // PrintLevelingWizard
|
||||
|| ZCalibrationWizard.NeedsToBeRun(printer)
|
||||
|| (requiresLoadedFilament && LoadFilamentWizard.NeedsToBeRun0(printer))
|
||||
|| (requiresLoadedFilament && LoadFilamentWizard.NeedsToBeRun1(printer))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue