mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
ENH: limit chamber temperature setting in cooling filt mode
Jira: [STUDIO-14035] Change-Id: I894ecc3f1628bbdaa86fcfd8a4420e59111af7bb (cherry picked from commit 5e95c6bcc8aa0b89661f27a4f123442857f7fec7)
This commit is contained in:
@@ -4092,7 +4092,17 @@ void StatusPanel::on_set_chamber_temp()
|
||||
m_tempCtrl_chamber->Warning(false);
|
||||
}
|
||||
|
||||
if (!obj->GetFan()->is_at_heating_mode() && chamber_temp >= obj->GetConfig()->GetChamberTempSwitchHeat())
|
||||
if(obj->is_in_printing() && obj->GetFan()->GetSupportAirduct() && obj->GetFan()->is_at_cooling_mode())
|
||||
{
|
||||
#ifndef __APPLE__
|
||||
MessageDialog champer_switch_head_dlg(this, _L("Chamber temperature cannot be changed in cooling mode while printing."), wxEmptyString, wxICON_WARNING | wxOK);
|
||||
#else
|
||||
wxMessageDialog champer_switch_head_dlg(this, _L("Chamber temperature cannot be changed in cooling mode while printing."), wxEmptyString, wxICON_WARNING | wxOK);
|
||||
#endif
|
||||
champer_switch_head_dlg.ShowModal();
|
||||
return;
|
||||
}
|
||||
else if (!obj->GetFan()->is_at_heating_mode() && chamber_temp >= obj->GetConfig()->GetChamberTempSwitchHeat())
|
||||
{
|
||||
#ifndef __APPLE__
|
||||
MessageDialog champer_switch_head_dlg(this, _L("If the chamber temperature exceeds 40\u2103, the system will automatically switch to heating mode. "
|
||||
|
||||
Reference in New Issue
Block a user