aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/force_move.py
diff options
context:
space:
mode:
authorFrancois Chagnon <fc@francoischagnon.net>2023-12-30 11:34:21 -0500
committerGitHub <noreply@github.com>2023-12-30 11:34:21 -0500
commitd7f6348ae6e45e4b566d10974b10ab4bb111222b (patch)
tree8499e6a9404c0240f44a70f15d4c547db498d993 /klippy/extras/force_move.py
parentb502558052f40339baa04fcfcbbeb65aa77dc1d8 (diff)
downloadkutter-d7f6348ae6e45e4b566d10974b10ab4bb111222b.tar.gz
kutter-d7f6348ae6e45e4b566d10974b10ab4bb111222b.tar.xz
kutter-d7f6348ae6e45e4b566d10974b10ab4bb111222b.zip
toolhead: Keep stepcompress move history relative to current time (#6439)
Expire history relative to current time rather than last move in history queue Signed-off-by: Francois Chagnon <fc@francoischagnon.net>
Diffstat (limited to 'klippy/extras/force_move.py')
-rw-r--r--klippy/extras/force_move.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/extras/force_move.py b/klippy/extras/force_move.py
index 3c05843b..7501ea98 100644
--- a/klippy/extras/force_move.py
+++ b/klippy/extras/force_move.py
@@ -86,7 +86,8 @@ class ForceMove:
0., 0., 0., axis_r, 0., 0., 0., cruise_v, accel)
print_time = print_time + accel_t + cruise_t + accel_t
stepper.generate_steps(print_time)
- self.trapq_finalize_moves(self.trapq, print_time + 99999.9)
+ self.trapq_finalize_moves(self.trapq, print_time + 99999.9,
+ print_time + 99999.9)
stepper.set_trapq(prev_trapq)
stepper.set_stepper_kinematics(prev_sk)
toolhead.note_kinematic_activity(print_time)