diff options
author | Eugenio Pignataro <info@oscurart.com.ar> | 2018-03-22 15:08:46 +0300 |
---|---|---|
committer | Eugenio Pignataro <info@oscurart.com.ar> | 2018-03-22 15:08:46 +0300 |
commit | b3555d5ac5a0bea1792efc695e53bf69200267dc (patch) | |
tree | 180194606f467b43a828b8617a18eec3b3036bf8 | |
parent | 3231e35600f674e3dcc74c4aa91a8e853774f7d9 (diff) |
Now Tokens support batch maker
-rw-r--r-- | oscurart_tools/oscurart_render.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/oscurart_tools/oscurart_render.py b/oscurart_tools/oscurart_render.py index 60edd822..a3abb381 100644 --- a/oscurart_tools/oscurart_render.py +++ b/oscurart_tools/oscurart_render.py @@ -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))) |