XYCalibration SetupRequired should be conditional on NozzleCount

- Issue MatterHackers/MCCentral#5429
Says to re-calibrate but doesn't show what to re-calibrate.
This commit is contained in:
jlewin 2019-05-01 14:55:59 -07:00
parent 41d4101d32
commit 96f0826218

View file

@ -78,7 +78,9 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
public static bool NeedsToBeRun(PrinterConfig printer)
{
// we have a probe that we are using and we have not done leveling yet
return UsingZProbe(printer) && !printer.Settings.GetValue<bool>(SettingsKey.xy_offsets_have_been_calibrated);
return UsingZProbe(printer)
&& printer.Settings.Helpers.NumberOfTools() > 1
&& !printer.Settings.GetValue<bool>(SettingsKey.xy_offsets_have_been_calibrated);
}
public static bool UsingZProbe(PrinterConfig printer)