diff --git a/addon/utils/live_mode.py b/addon/utils/live_mode.py index 6f801d4..08df146 100644 --- a/addon/utils/live_mode.py +++ b/addon/utils/live_mode.py @@ -129,9 +129,7 @@ def handle_position_jump(cls, target_positions): for servo_id, position, step in target_positions: diff = abs(position - cls._last_positions[servo_id]) steps = math.ceil(diff / step) - - if steps > abs_steps: - abs_steps = steps + abs_steps = max(abs_steps, steps) window_manager = bpy.context.window_manager window_manager.progress_begin(0, abs_steps)