mirror of https://github.com/Desuuuu/klipper.git
extruder: Flush step generation on ACTIVATE_EXTRUDER
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
9628d9b1ac
commit
46e7027bc7
|
@ -195,6 +195,7 @@ class PrinterExtruder:
|
||||||
gcode.respond_info("Extruder %s already active" % (self.name))
|
gcode.respond_info("Extruder %s already active" % (self.name))
|
||||||
return
|
return
|
||||||
gcode.respond_info("Activating extruder %s" % (self.name))
|
gcode.respond_info("Activating extruder %s" % (self.name))
|
||||||
|
toolhead.flush_step_generation()
|
||||||
toolhead.set_extruder(self, self.extrude_pos)
|
toolhead.set_extruder(self, self.extrude_pos)
|
||||||
self.printer.send_event("extruder:activate_extruder")
|
self.printer.send_event("extruder:activate_extruder")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue