From e719e48a84af32cda1cd3af35bbe10813aa2a299 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Tue, 3 Oct 2017 13:43:34 +0200 Subject: [PATCH] Fixed a bug in the temperature handling of the Prusa Multi Material priming towers. --- xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp b/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp index 14b67936d..951d71075 100644 --- a/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp +++ b/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp @@ -440,7 +440,8 @@ WipeTower::ToolChangeResult WipeTowerPrusaMM::prime( } else { // Ram the hot material out of the melt zone, retract the filament into the cooling tubes and let it cool. writer.travel(writer.x(), writer.y() + m_perimeter_width, 7200); - toolchange_Unload(writer, cleaning_box, m_material[m_current_tool], m_first_layer_temperature[tool]); + // Change the extruder temperature to the temperature of the next filament before starting the cooling moves. + toolchange_Unload(writer, cleaning_box, m_material[m_current_tool], m_first_layer_temperature[tools[idx_tool+1]]); // Save the y end of the non-last priming area. y_end = writer.y(); cleaning_box.translate(m_wipe_tower_width, 0.f);