diff --git a/xs/src/libslic3r/GCodeWriter.cpp b/xs/src/libslic3r/GCodeWriter.cpp index c24c8ad33..8b1e56754 100644 --- a/xs/src/libslic3r/GCodeWriter.cpp +++ b/xs/src/libslic3r/GCodeWriter.cpp @@ -163,7 +163,7 @@ std::string GCodeWriter::set_fan(unsigned int speed, bool dont_save) { std::ostringstream gcode; - const double baseline_factor = (this->config.fan_percentage ? 1.0 : 255.0); + const double baseline_factor = (this->config.fan_percentage ? 100.0 : 255.0); if (this->_last_fan_speed != speed || dont_save) { if (!dont_save) this->_last_fan_speed = speed;