Added a marker for the ooze prevention cooldown commands
This commit is contained in:
parent
943eb5b4fe
commit
211b8cdc90
2 changed files with 5 additions and 1 deletions
src/libslic3r/GCode
|
@ -4004,7 +4004,7 @@ void GCodeProcessor::post_process()
|
|||
reader.parse_line(line, [&gline](GCodeReader& reader, const GCodeReader::GCodeLine& l) { gline = l; });
|
||||
|
||||
float val;
|
||||
if (gline.has_value('T', val)) {
|
||||
if (gline.has_value('T', val) && gline.raw().find("cooldown") != std::string::npos) {
|
||||
if (static_cast<int>(val) == tool_number)
|
||||
return std::string("; removed M104\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue