Skip to content

Commit

Permalink
Fixed a bug that filament start gcode was inserted twice when wipe to…
Browse files Browse the repository at this point in the history
…wer is enabled

fixed #2673
  • Loading branch information
SoftFever committed Nov 10, 2023
1 parent 1091768 commit edb5676
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libslic3r/GCode/WipeTower2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit edb5676

Please sign in to comment.