From aa0bc7489f1e151c14f77facf12ec24917b9e96c Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Thu, 2 Nov 2023 10:39:03 +0100 Subject: [PATCH] Fixed wipe tower generation when non-zero extruder offset is used (SPE-2002, broken in c669293) --- src/libslic3r/GCode/WipeTowerIntegration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/GCode/WipeTowerIntegration.cpp b/src/libslic3r/GCode/WipeTowerIntegration.cpp index eb06ddd165..aa0e57562e 100644 --- a/src/libslic3r/GCode/WipeTowerIntegration.cpp +++ b/src/libslic3r/GCode/WipeTowerIntegration.cpp @@ -180,7 +180,7 @@ std::string WipeTowerIntegration::post_process_wipe_tower_moves(const WipeTower: gcode_out += line + "\n"; // If this was a toolchange command, we should change current extruder offset - if (line == "[toolchange_gcode]") { + if (line == "[toolchange_gcode_from_wipe_tower_generator]") { extruder_offset = m_extruder_offsets[tcr.new_tool].cast(); // If the extruder offset changed, add an extra move so everything is continuous