fix bone flip resetting

This commit is contained in:
2025-07-02 21:10:00 +10:00
parent 74e8222894
commit ea4e772151
2 changed files with 5 additions and 1 deletions

View File

@@ -39,7 +39,10 @@ func _ready() -> void:
func _process_modification() -> void:
if !_skeleton or !flip:
if !_skeleton:
return
if !flip:
for bone_idx in range(_skeleton.get_bone_count()):
_skeleton.set_bone_pose(bone_idx, _skeleton.get_bone_pose(bone_idx))
return