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

Commit

Permalink
Merge pull request #6267 from ynput/bugfix/maya_no_alembic_overrides
Browse files Browse the repository at this point in the history
Maya: Account for no Alembic overrides.
  • Loading branch information
antirotor authored May 9, 2024
2 parents a861de4 + f127a5e commit d4f8451
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions openpype/hosts/maya/plugins/publish/extract_pointcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,15 +291,16 @@ def get_attribute_defs(cls):

enabled_flags = [x for x in flags if x in overrides]
flags = overrides - set(override_defs.keys())
defs.append(
EnumDef(
"flags",
flags,
default=enabled_flags,
multiselection=True,
label="Export Flags",
if flags:
defs.append(
EnumDef(
"flags",
flags,
default=enabled_flags,
multiselection=True,
label="Export Flags",
)
)
)

for key, value in override_defs.items():
if key not in overrides:
Expand Down

0 comments on commit d4f8451

Please sign in to comment.