mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 05:56:35 +01:00
Fix cooling not working if !gcode_comments
The cooling markers were being passed into GCodeWriter::set_speed() as a comment which were being ignored if gcode_comments was false. Fixes: #3325
This commit is contained in:
1 parent
510ca9f9e2
commit
209b919fe6
3 files changed
+6
-4
No files matched your search
@@ -34,7 +34,7 @@ class GCodeWriter {
|
||||
bool need_toolchange(unsigned int extruder_id) const;
|
||||
std::string set_extruder(unsigned int extruder_id);
|
||||
std::string toolchange(unsigned int extruder_id);
|
||||
std::string set_speed(double F, const std::string &comment = std::string()) const;
|
||||
std::string set_speed(double F, const std::string &comment = std::string(), const std::string &cooling_marker = std::string()) const;
|
||||
std::string travel_to_xy(const Pointf &point, const std::string &comment = std::string());
|
||||
std::string travel_to_xyz(const Pointf3 &point, const std::string &comment = std::string());
|
||||
std::string travel_to_z(double z, const std::string &comment = std::string());
|
||||
|
||||
Reference in new issue
Block a user