diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-09-11 13:45:33 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-09-11 13:45:33 -0400 |
commit | 5791a4d8c4cd09b7652fa98f9a82ca3606324b7b (patch) | |
tree | ff58fd69c8c026e8d89e3b5535dd2152fef68011 /klippy/toolhead.py | |
parent | 4573932f89d4bc0f0c0fea5ee40f7a2d4d3ed757 (diff) | |
download | kutter-5791a4d8c4cd09b7652fa98f9a82ca3606324b7b.tar.gz kutter-5791a4d8c4cd09b7652fa98f9a82ca3606324b7b.tar.xz kutter-5791a4d8c4cd09b7652fa98f9a82ca3606324b7b.zip |
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 <kevin@koconnor.net>
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r-- | klippy/toolhead.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py index 963d8052..96210152 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() |