mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Fix Fan mover when absolute E is used (#8359)
Make sure the GCodeReader is initialized properly, so the relative e config is correct (SoftFever/OrcaSlicer#8221)
This commit is contained in:
@@ -65,7 +65,9 @@ public:
|
|||||||
: regex_fan_speed("S[0-9]+"),
|
: regex_fan_speed("S[0-9]+"),
|
||||||
nb_seconds_delay(nb_seconds_delay>0 ? std::max(0.01f,nb_seconds_delay) : 0),
|
nb_seconds_delay(nb_seconds_delay>0 ? std::max(0.01f,nb_seconds_delay) : 0),
|
||||||
with_D_option(with_D_option)
|
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
|
// 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);
|
const std::string& process_gcode(const std::string& gcode, bool flush);
|
||||||
|
|||||||
Reference in New Issue
Block a user