From 46e7027bc79d2cce9d77f6fb5f7b6862621e9b30 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 17 Dec 2019 01:59:06 -0500 Subject: [PATCH] extruder: Flush step generation on ACTIVATE_EXTRUDER Signed-off-by: Kevin O'Connor --- klippy/kinematics/extruder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/klippy/kinematics/extruder.py b/klippy/kinematics/extruder.py index e9978d6f..e3c0b699 100644 --- a/klippy/kinematics/extruder.py +++ b/klippy/kinematics/extruder.py @@ -195,6 +195,7 @@ class PrinterExtruder: gcode.respond_info("Extruder %s already active" % (self.name)) return gcode.respond_info("Activating extruder %s" % (self.name)) + toolhead.flush_step_generation() toolhead.set_extruder(self, self.extrude_pos) self.printer.send_event("extruder:activate_extruder")