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>
This commit is contained in:
Kevin O'Connor 2018-09-11 13:45:33 -04:00
parent 4573932f89
commit 5791a4d8c4
1 changed files with 1 additions and 1 deletions

View File

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