diff --git a/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp b/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp index 4dbc7440e..e9523b731 100644 --- a/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp +++ b/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp @@ -1174,7 +1174,7 @@ void WipeTowerPrusaMM::generate(std::vector 1) { // we will merge it to the last toolchange + if ( ! layer.tool_changes.empty() ) { // we will merge it to the last toolchange auto& last_toolchange = layer_result.back(); if (last_toolchange.end_pos != finish_layer_toolchange.start_pos) { char buf[2048]; // Add a travel move from tc1.end_pos to tc2.start_pos.