diff options
Diffstat (limited to 'src/libslic3r/GCode')
-rw-r--r-- | src/libslic3r/GCode/AvoidCrossingPerimeters.cpp | 2 | ||||
-rw-r--r-- | src/libslic3r/GCode/FanMover.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/libslic3r/GCode/AvoidCrossingPerimeters.cpp b/src/libslic3r/GCode/AvoidCrossingPerimeters.cpp index 1d40a62bd..cad59bd32 100644 --- a/src/libslic3r/GCode/AvoidCrossingPerimeters.cpp +++ b/src/libslic3r/GCode/AvoidCrossingPerimeters.cpp @@ -9,6 +9,8 @@ #include "../SVG.hpp" #include "AvoidCrossingPerimeters.hpp" +#include <boost/log/trivial.hpp> + #include <numeric> #include <unordered_set> diff --git a/src/libslic3r/GCode/FanMover.cpp b/src/libslic3r/GCode/FanMover.cpp index ca6db9ecf..6e138d1d2 100644 --- a/src/libslic3r/GCode/FanMover.cpp +++ b/src/libslic3r/GCode/FanMover.cpp @@ -242,6 +242,8 @@ void FanMover::_process_gcode_line(GCodeReader& reader, const GCodeReader::GCode if (fan_speed >= 0) { const auto fan_baseline = (m_writer.config.fan_percentage.value ? 100.0 : 255.0); fan_speed = 100 * fan_speed / fan_baseline; + //speed change: stop kickstart reverting if any + m_current_kickstart.time = -1; if (!m_is_custom_gcode) { // if slow down => put in the queue. if not => if (m_back_buffer_fan_speed < fan_speed) { |