From b3c2c7627bca95b69e98ff4eda1f653e7eb60b7c Mon Sep 17 00:00:00 2001 From: Kayla Man Date: Thu, 12 Sep 2024 11:58:20 +0800 Subject: [PATCH] ported from openpype --- client/ayon_unreal/plugins/load/load_animation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/ayon_unreal/plugins/load/load_animation.py b/client/ayon_unreal/plugins/load/load_animation.py index b7d69aca..87cefd69 100644 --- a/client/ayon_unreal/plugins/load/load_animation.py +++ b/client/ayon_unreal/plugins/load/load_animation.py @@ -166,8 +166,8 @@ def _load_from_json( if (s.get_class() == MovieSceneSkeletalAnimationSection.static_class())] - for s in sections: - s.params.set_editor_property('animation', animation) + for section in sections: + section.params.set_editor_property('animation', animation) @staticmethod def is_skeleton(asset):