fix: remove _update_skin() call
This commit is contained in:
@@ -133,12 +133,7 @@ func load_model(path: String) -> void:
|
|||||||
animation_player.play(anim_list[0])
|
animation_player.play(anim_list[0])
|
||||||
print("SkinnedPlayerModel: playing '%s'" % anim_list[0])
|
print("SkinnedPlayerModel: playing '%s'" % anim_list[0])
|
||||||
|
|
||||||
# Ensure fallback animations exist for states the movement system needs
|
|
||||||
_ensure_locomotion_animations(animation_player)
|
_ensure_locomotion_animations(animation_player)
|
||||||
|
|
||||||
# Force initial skin update so the first rendered frame shows the
|
|
||||||
# correct animated pose instead of T-pose.
|
|
||||||
_update_skin()
|
|
||||||
else:
|
else:
|
||||||
print("SkinnedPlayerModel: WARNING - no AnimationPlayer found")
|
print("SkinnedPlayerModel: WARNING - no AnimationPlayer found")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user