diff options
author | Eugenio Pignataro <info@oscurart.com.ar> | 2018-03-26 14:53:10 +0300 |
---|---|---|
committer | Eugenio Pignataro <info@oscurart.com.ar> | 2018-03-26 14:53:10 +0300 |
commit | f0c312e6f2d4036cc4e61514f2397806cfa778db (patch) | |
tree | 94847f041d5d522f4335087543ed6644bc331b99 /oscurart_tools | |
parent | 3aeaa28b2fd7649a044fae0179fac1482238b3c7 (diff) |
Render Batch support fix
Diffstat (limited to 'oscurart_tools')
-rw-r--r-- | oscurart_tools/oscurart_render.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oscurart_tools/oscurart_render.py b/oscurart_tools/oscurart_render.py index 991f511e..a758fae1 100644 --- a/oscurart_tools/oscurart_render.py +++ b/oscurart_tools/oscurart_render.py @@ -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))) |