fixed error in constructing alembic arguments

This commit is contained in:
aardschok 2017-06-27 18:00:47 +02:00
parent 21fa71f112
commit 9cce262694
2 changed files with 6 additions and 1 deletions

View file

@ -159,6 +159,11 @@ class ExtractAlembic(colorbleed.api.Extractor):
if not os.path.exists(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 pyblish_maya.maintained_selection():
@ -227,7 +232,7 @@ class ExtractAlembic(colorbleed.api.Extractor):
for entry in value:
job_args.append("-%s %s" % (key, entry))
elif isinstance(value, bool):
job_args.append("%s" % key)
job_args.append("-%s" % key)
else:
job_args.append("-%s %s" % (key, value))