mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 19:12:17 +00:00
FIX: do not use protocol to check fan control
jira: [STUDIO-12435] Change-Id: I6d5334d8eb2979f07866e4e985db6bc5179a4c18 (cherry picked from commit 3d16a94fa514c2cef118c65d788318876ea5cd91)
This commit is contained in:
@@ -4888,11 +4888,11 @@ void StatusPanel::on_nozzle_fan_switch(wxCommandEvent &event)
|
|||||||
m_fan_control_popup = nullptr;
|
m_fan_control_popup = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!obj)
|
if (!obj) { return; }
|
||||||
return;
|
if (obj->m_air_duct_data.modes.empty())
|
||||||
|
{
|
||||||
if (!obj->is_enable_np)
|
|
||||||
obj->converse_to_duct(true, obj->is_support_aux_fan, obj->is_support_chamber_fan);
|
obj->converse_to_duct(true, obj->is_support_aux_fan, obj->is_support_chamber_fan);
|
||||||
|
}
|
||||||
|
|
||||||
m_fan_control_popup = new FanControlPopupNew(this, obj, obj->m_air_duct_data);
|
m_fan_control_popup = new FanControlPopupNew(this, obj, obj->m_air_duct_data);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user