Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Bug: Avoid variable re declaration bug on Unreal
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyprien CAILLOT committed Sep 11, 2024
1 parent d9731d0 commit 3cb0edf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openpype/hosts/unreal/plugins/load/load_animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 3cb0edf

Please sign in to comment.