mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fixed error in constructing alembic arguments
This commit is contained in:
parent
21fa71f112
commit
9cce262694
2 changed files with 6 additions and 1 deletions
|
|
@ -159,6 +159,11 @@ class ExtractAlembic(colorbleed.api.Extractor):
|
||||||
|
|
||||||
if not os.path.exists(parent_dir):
|
if not os.path.exists(parent_dir):
|
||||||
os.makedirs(parent_dir)
|
os.makedirs(parent_dir)
|
||||||
|
# import pprint
|
||||||
|
# print("START DEBUG")
|
||||||
|
# print(">>> SET MEMBERS")
|
||||||
|
# pprint.pprint(instance.data["setMembers"])
|
||||||
|
# print("END DEBUG")
|
||||||
|
|
||||||
with suspension():
|
with suspension():
|
||||||
with pyblish_maya.maintained_selection():
|
with pyblish_maya.maintained_selection():
|
||||||
|
|
@ -227,7 +232,7 @@ class ExtractAlembic(colorbleed.api.Extractor):
|
||||||
for entry in value:
|
for entry in value:
|
||||||
job_args.append("-%s %s" % (key, entry))
|
job_args.append("-%s %s" % (key, entry))
|
||||||
elif isinstance(value, bool):
|
elif isinstance(value, bool):
|
||||||
job_args.append("%s" % key)
|
job_args.append("-%s" % key)
|
||||||
else:
|
else:
|
||||||
job_args.append("-%s %s" % (key, value))
|
job_args.append("-%s %s" % (key, value))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue