From 63a146d42411ab4cc351bb13a3ec698906aceda3 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 18 Jul 2018 20:10:50 -0500 Subject: [PATCH] planner.synchronize at start of tool_change See https://github.com/MarlinFirmware/Marlin/issues/10949#issuecomment-398540498 --- Marlin/src/module/tool_change.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Marlin/src/module/tool_change.cpp b/Marlin/src/module/tool_change.cpp index d013c2c7a..35c52cf7a 100644 --- a/Marlin/src/module/tool_change.cpp +++ b/Marlin/src/module/tool_change.cpp @@ -352,6 +352,8 @@ inline void invalid_extruder_error(const uint8_t e) { * previous tool out of the way and the new tool into place. */ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool no_move/*=false*/) { + planner.synchronize(); + #if ENABLED(MIXING_EXTRUDER) && MIXING_VIRTUAL_TOOLS > 1 mixing_tool_change(tmp_extruder);