Skip to content

Commit

Permalink
chore: fix RUF032
Browse files Browse the repository at this point in the history
  • Loading branch information
saturday06 committed Jan 9, 2025
1 parent 0676a43 commit f9d3763
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io_scene_vrm/editor/spring_bone1/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,10 +730,10 @@ def frame_change_pre(_unused: object) -> None:
# floatの丸め誤差の積算を行うため、delta_timeは 1.0/60.0 を決め打ちせず
# 前後の時刻の差分を使う
next_spring_bone_update_time = next_spring_bone_60_fps_update_count / Decimal(
60.0
60
)
current_spring_bone_update_time = (
state.spring_bone_60_fps_update_count / Decimal(60.0)
state.spring_bone_60_fps_update_count / Decimal(60)
)
delta_time = float(next_spring_bone_update_time) - float(
current_spring_bone_update_time
Expand Down

0 comments on commit f9d3763

Please sign in to comment.