Fix issue that fan speed not reset to normal after ironing (#12595)

Fix issue that fan speed not reset to normal after ironing (OrcaSlicer/OrcaSlicer#11824)
This commit is contained in:
Noisyfox
2026-03-04 15:46:14 +08:00
committed by GitHub
parent d390524db0
commit 29addf5ca1

View File

@@ -879,8 +879,8 @@ std::string CoolingBuffer::apply_layer_cooldown(
fan_speed_change_requests[CoolingLine::TYPE_IRONING_FAN_START] = true;
need_set_fan = true;
}
} else if (line->type & CoolingLine::TYPE_IRONING_FAN_END && fan_speed_change_requests[CoolingLine::TYPE_IRONING_FAN_START]) {
if (ironing_fan_control) {
} else if (line->type & CoolingLine::TYPE_IRONING_FAN_END) {
if (ironing_fan_control && fan_speed_change_requests[CoolingLine::TYPE_IRONING_FAN_START]) {
fan_speed_change_requests[CoolingLine::TYPE_IRONING_FAN_START] = false;
}
need_set_fan = true;