diff --git a/openpype/hosts/unreal/plugins/load/load_animation.py b/openpype/hosts/unreal/plugins/load/load_animation.py index 7ed85ee4111..091315df9d4 100644 --- a/openpype/hosts/unreal/plugins/load/load_animation.py +++ b/openpype/hosts/unreal/plugins/load/load_animation.py @@ -216,8 +216,8 @@ def load(self, context, name, namespace, options=None): 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) # Create Asset Container unreal_pipeline.create_container(