Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libslic3r/GCode/WipeTower.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libslic3r/GCode/WipeTower.cpp b/src/libslic3r/GCode/WipeTower.cpp
index ab9bcac9d..ee18e6d10 100644
--- a/src/libslic3r/GCode/WipeTower.cpp
+++ b/src/libslic3r/GCode/WipeTower.cpp
@@ -96,10 +96,7 @@ public:
&& m_tool_name[this->m_current_tool][0] != static_cast<char>(('0' + this->m_current_tool))) {
m_gcode += "SET_PRESSURE_ADVANCE ADVANCE=0 EXTRUDER=" + m_tool_name[this->m_current_tool] + "\n";
} else {
- m_gcode += "SET_PRESSURE_ADVANCE ADVANCE=0 EXTRUDER=extruder";
- if (this->m_current_tool > 0)
- m_gcode += std::to_string(this->m_current_tool);
- m_gcode += "\n";
+ m_gcode += "SET_PRESSURE_ADVANCE ADVANCE=0\n";
}
} else {
m_gcode += std::string("M900 K0\n");