Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
timhendriks93 committed May 18, 2024
1 parent c6ce05c commit e85f10c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions addon/utils/live_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e85f10c

Please sign in to comment.