From 5791a4d8c4cd09b7652fa98f9a82ca3606324b7b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 11 Sep 2018 13:45:33 -0400 Subject: [PATCH] toolhead: Set commanded_pos[] to move.end_pos Commit 4573932f allowed move.end_pos to differ from the requested end position - the toolhead class should use the updated position when storing its commanded position. Signed-off-by: Kevin O'Connor --- klippy/toolhead.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/toolhead.py b/klippy/toolhead.py index 963d80522..962101529 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -349,7 +349,7 @@ class ToolHead: self.kin.check_move(move) if move.axes_d[3]: self.extruder.check_move(move) - self.commanded_pos[:] = newpos + self.commanded_pos[:] = move.end_pos self.move_queue.add_move(move) if self.print_time > self.need_check_stall: self._check_stall()