extruder: Flush step generation on ACTIVATE_EXTRUDER

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-12-17 01:59:06 -05:00
parent 9628d9b1ac
commit 46e7027bc7
1 changed files with 1 additions and 0 deletions

View File

@ -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")