Skip to content

Commit

Permalink
Merge pull request #29 from ynput/bugfix/load_alembic_do_not_error_on…
Browse files Browse the repository at this point in the history
…_non_alembic_objects

Fix Alembic Loader trying to update alembic path on non-alembic generators
  • Loading branch information
BigRoy authored Jan 24, 2025
2 parents f0fb2d6 + 3004127 commit 0e4ca1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/ayon_cinema4d/plugins/load/load_alembic.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def update(self, container, context):
objects.update(children)

for obj in objects:
# Only update those with alembic path set
if obj[c4d.ALEMBIC_PATH]:
# Update Alembic Generators
if obj.IsInstanceOf(c4d.Oalembicgenerator):
obj[c4d.ALEMBIC_PATH] = filepath
continue

Expand Down

0 comments on commit 0e4ca1d

Please sign in to comment.