From 3bae85189e69585a055d5dc1fbdac73397b06464 Mon Sep 17 00:00:00 2001 From: Thomas Rahm <67757218+ThomasRahm@users.noreply.github.com> Date: Wed, 8 Nov 2023 14:27:54 +0100 Subject: [PATCH] Fix final travel move using default fan speed --- src/LayerPlan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LayerPlan.cpp b/src/LayerPlan.cpp index b026482b9b..6fa21391a7 100644 --- a/src/LayerPlan.cpp +++ b/src/LayerPlan.cpp @@ -1949,7 +1949,7 @@ void LayerPlan::writeGCode(GCodeExport& gcode) // Fans need time to reach the new setting. Adjust fan speed as early as possible. If travel paths have a non default fan speed for some reason set it as fan speed. // As such modification could be made by a plugin. - if(!path.isTravelPath() || path.fan_speed < 0) + if(!path.isTravelPath() || path.fan_speed >= 0) { const double path_fan_speed = path.getFanSpeed(); gcode.writeFanCommand(path_fan_speed != GCodePathConfig::FAN_SPEED_DEFAULT ? path_fan_speed : extruder_plan.getFanSpeed());