Now Tokens support batch maker

This commit is contained in:
Eugenio Pignataro 2018-03-22 09:08:46 -03:00
parent 3231e35600
commit b3555d5ac5
1 changed files with 4 additions and 4 deletions

View File

@ -234,13 +234,13 @@ 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 -o %s -P %s%s.py -s %s -e %s -a" %
(QUOTES, BINDIR, QUOTES, bpy.data.filepath, rfp,
FILE.writelines("%s%s%s -b %s -x 1 -P %s%s.py -s %s -e %s -a" %
(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 -o %s -P %s%s.py -s %s -e %s -a" %
("blender", bpy.data.filepath, rfp,
FILE.writelines("%s -b %s -x 1 -P %s%s.py -s %s -e %s -a" %
("blender", bpy.data.filepath,
bpy.data.filepath.rpartition(SYSBAR)[0] + SYSBAR, TYPE,
str(bpy.context.scene.frame_start), str(bpy.context.scene.frame_end)))