mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
FIX: use data to check the fan control
jira: [STUDIO-12917] Change-Id: I74f816a21beb2dfb4191bb73298882efd22a6191 (cherry picked from commit 4f0f4fc64802d777d11105d433e59f57168bfd66)
This commit is contained in:
@@ -777,7 +777,7 @@ void FanControlPopupNew::update_fan_data(MachineObject *obj)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (obj->is_enable_np) {
|
if (!obj->m_air_duct_data.modes.empty()) {
|
||||||
update_fan_data(obj->m_air_duct_data);
|
update_fan_data(obj->m_air_duct_data);
|
||||||
} else {
|
} else {
|
||||||
int cooling_fan_speed = round(obj->cooling_fan_speed / float(25.5));
|
int cooling_fan_speed = round(obj->cooling_fan_speed / float(25.5));
|
||||||
|
|||||||
Reference in New Issue
Block a user