From edb5676dd14432a77d15312f85a17452e79e06f5 Mon Sep 17 00:00:00 2001 From: SoftFever Date: Fri, 10 Nov 2023 18:00:56 +0800 Subject: [PATCH] Fixed a bug that filament start gcode was inserted twice when wipe tower is enabled fixed #2673 --- src/libslic3r/GCode/WipeTower2.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libslic3r/GCode/WipeTower2.cpp b/src/libslic3r/GCode/WipeTower2.cpp index 6bddcf5191..ab8a54ea06 100644 --- a/src/libslic3r/GCode/WipeTower2.cpp +++ b/src/libslic3r/GCode/WipeTower2.cpp @@ -1038,8 +1038,7 @@ void WipeTower2::toolchange_Change( // The toolchange Tn command will be inserted later, only in case that the user does // not provide a custom toolchange gcode. writer.set_tool(new_tool); // This outputs nothing, the writer just needs to know the tool has changed. - //writer.append("[start_filament_gcode]\n"); - writer.append("[filament_start_gcode]\n"); + // writer.append("[filament_start_gcode]\n"); writer.flush_planner_queue();