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

Maya: Account for no Alembic overrides. #6267

Merged
merged 1 commit into from
May 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading