fix: call update_skeleton() to force bone transform refresh for rendering

This commit is contained in:
2026-06-25 15:53:48 -04:00
parent 252137d10b
commit 03e2c29fa5
+3 -1
View File
@@ -401,7 +401,9 @@ func _process(delta: float) -> void:
if animation_player.has_animation(target_anim):
animation_player.play(target_anim)
# Debug output
# Force the skeleton to update bone transforms for rendering
if skeleton:
skeleton.update_skeleton()
_anim_debug_timer += delta
if _anim_debug_timer > 2.0:
_anim_debug_timer = 0.0