format command

This commit is contained in:
Milan Kolar 2021-08-18 18:21:33 +02:00
parent 0aa35cc18b
commit 07ebf273c1

View file

@ -50,7 +50,15 @@ class ExtractXgenCache(openpype.api.Extractor):
with avalon.maya.suspended_refresh():
with avalon.maya.maintained_selection():
command = ('-file ' + path + ' -df "ogawa" -fr ' + str(start) + ' ' + str(end) + ' -step 1 -mxf -wfw')
command = (
'-file '
+ path
+ ' -df "ogawa" -fr '
+ str(start)
+ ' '
+ str(end)
+ ' -step 1 -mxf -wfw'
)
for desc in out_descriptions:
command += (" -obj " + desc)
cmds.xgmSplineCache(export=True, j=command)