Only require probe calibration if doing leveling
issue: MatterHackers/MCCentral#4351 Probe calibration is required even when software print leveling is turned off
This commit is contained in:
parent
10d141395f
commit
fd74320c8e
2 changed files with 3 additions and 2 deletions
|
|
@ -45,7 +45,8 @@ namespace MatterHackers.MatterControl.ConfigurationPage.PrintLeveling
|
|||
public static bool UsingZProbe(PrinterConfig printer)
|
||||
{
|
||||
// we have a probe that we are using and we have not done leveling yet
|
||||
return printer.Settings.GetValue<bool>(SettingsKey.has_z_probe)
|
||||
return printer.Settings.GetValue<bool>(SettingsKey.print_leveling_enabled)
|
||||
&& printer.Settings.GetValue<bool>(SettingsKey.has_z_probe)
|
||||
&& printer.Settings.GetValue<bool>(SettingsKey.use_z_probe);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
protected void SetButtonStates()
|
||||
{
|
||||
// If we don't have leveling data and we need it
|
||||
bool showSetupButton = PrintLevelingData.NeedsToBeRun(printer);
|
||||
bool showSetupButton = PrintLevelingData.NeedsToBeRun(printer) || ProbeCalibrationWizard.NeedsToBeRun(printer);
|
||||
|
||||
switch (printer.Connection.CommunicationState)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue