From 96cdcf72d3cbbc7bbcc7af5aae037265e326d34f Mon Sep 17 00:00:00 2001 From: PavelMikus Date: Thu, 16 Mar 2023 09:43:19 +0100 Subject: [PATCH] Fix disable fan for first x layers not working correctly. Co-authored-by: Justin Schuh (@justinschuh) --- src/libslic3r/GCode/CoolingBuffer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/GCode/CoolingBuffer.cpp b/src/libslic3r/GCode/CoolingBuffer.cpp index b0f811ac4..b574c95b3 100644 --- a/src/libslic3r/GCode/CoolingBuffer.cpp +++ b/src/libslic3r/GCode/CoolingBuffer.cpp @@ -789,10 +789,11 @@ std::string CoolingBuffer::apply_layer_cooldown( } #undef EXTRUDER_CONFIG bridge_fan_control = bridge_fan_speed > fan_speed_new; - } else { + } else { // fan disabled bridge_fan_control = false; bridge_fan_speed = 0; fan_speed_new = 0; + custom_fan_speed_limits.second = 0; } if (fan_speed_new != m_fan_speed) { m_fan_speed = fan_speed_new;