Skip to content

Commit

Permalink
Fix Fan mover when absolute E is used (#8359)
Browse files Browse the repository at this point in the history
Make sure the GCodeReader is initialized properly, so the relative e config is correct (#8221)
  • Loading branch information
Noisyfox authored Feb 15, 2025
1 parent a359c05 commit ccbda78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libslic3r/GCode/FanMover.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ class FanMover
: regex_fan_speed("S[0-9]+"),
nb_seconds_delay(nb_seconds_delay>0 ? std::max(0.01f,nb_seconds_delay) : 0),
with_D_option(with_D_option)
, relative_e(relative_e), only_overhangs(only_overhangs), kickstart(kickstart), m_writer(writer){}
, relative_e(relative_e), only_overhangs(only_overhangs), kickstart(kickstart), m_writer(writer){
m_parser.apply_config(writer.config);
}

// Adds the gcode contained in the given string to the analysis and returns it after removing the workcodes
const std::string& process_gcode(const std::string& gcode, bool flush);
Expand Down

0 comments on commit ccbda78

Please sign in to comment.