diff options
author | Lukas Matena <lukasmatena@seznam.cz> | 2018-09-03 11:15:40 +0300 |
---|---|---|
committer | Lukas Matena <lukasmatena@seznam.cz> | 2018-09-03 11:15:40 +0300 |
commit | b0216b190af13ff82adc12eca0f8e813a1543e18 (patch) | |
tree | 633dc3ef3db4105a5cb322025d6d03a6f1b8907b /xs | |
parent | 22569de00fb05d3e69695d1a07819b795bbde134 (diff) |
Bugfix - extruder temperature was sometimes not correctly set on the wipe tower
Diffstat (limited to 'xs')
-rw-r--r-- | xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp b/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp index 42c06252b..caea1c5e7 100644 --- a/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp +++ b/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp @@ -525,6 +525,9 @@ WipeTower::ToolChangeResult WipeTowerPrusaMM::prime( ++ m_num_tool_changes; } + m_old_temperature = -1; // If the priming is turned off in config, the temperature changing commands will not actually appear + // in the output gcode - we should not remember emitting them (we will output them twice in the worst case) + // Reset the extruder current to a normal value. writer.set_extruder_trimpot(550) .feedrate(6000) |