Render Batch support fix

This commit is contained in:
Eugenio Pignataro 2018-03-26 08:53:10 -03:00
parent 3aeaa28b2f
commit f0c312e6f2
1 changed files with 2 additions and 2 deletions

View File

@ -236,12 +236,12 @@ def defoscBatchMaker(TYPE, BIN):
print(
"** Oscurart Batch maker can not modify the permissions.")
if not BIN:
FILE.writelines("%s%s%s -b %s -x 1 -P %s%s.py -s %s -e %s -a" %
FILE.writelines("%s%s%s -b %s -x 1 -P %s%s.py -s %s -e %s " %
(QUOTES, BINDIR, QUOTES, bpy.data.filepath,
bpy.data.filepath.rpartition(SYSBAR)[0] + SYSBAR, TYPE,
str(bpy.context.scene.frame_start), str(bpy.context.scene.frame_end)))
else:
FILE.writelines("%s -b %s -x 1 -P %s%s.py -s %s -e %s -a" %
FILE.writelines("%s -b %s -x 1 -P %s%s.py -s %s -e %s " %
("blender", bpy.data.filepath,
bpy.data.filepath.rpartition(SYSBAR)[0] + SYSBAR, TYPE,
str(bpy.context.scene.frame_start), str(bpy.context.scene.frame_end)))