Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Ewering <blender@instinctive.de>2006-11-25 17:53:31 +0300
committerAlexander Ewering <blender@instinctive.de>2006-11-25 17:53:31 +0300
commit314b7adc17668b80bd25a94d7d17164c45224ae2 (patch)
tree3898782babdaf6ef06b55e680029ecc856a67f00 /source/blender/python/api2_2x/sceneRender.c
parentcadb47b41557515870e0800fd4ccae6269dd3d3d (diff)
Uncommitted my potential fix for
http://projects.blender.org/tracker/index.php?func=detail&aid=4786&group_id=9&atid=125 It seems like you can't quote the executable path on win32 using system(). So, playing back a rendered animation now works again on win32, however, the bug remains... no idea how to correct it.
Diffstat (limited to 'source/blender/python/api2_2x/sceneRender.c')
-rw-r--r--source/blender/python/api2_2x/sceneRender.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/sceneRender.c b/source/blender/python/api2_2x/sceneRender.c
index de5dd1c5f1e..8ef3c09ab00 100644
--- a/source/blender/python/api2_2x/sceneRender.c
+++ b/source/blender/python/api2_2x/sceneRender.c
@@ -514,14 +514,14 @@ PyObject *RenderData_Play( BPy_RenderData * self )
}
if( BLI_exist( file ) ) {
calc_renderwin_rectangle(640, 480, G.winpos, pos, size);
- sprintf( str, "\"%s\" -a -p %d %d \"%s\"", bprogname, pos[0],
+ sprintf( str, "%s -a -p %d %d \"%s\"", bprogname, pos[0],
pos[1], file );
system( str );
} else {
BKE_makepicstring( file, G.scene->r.pic, self->renderContext->sfra, G.scene->r.imtype);
if( BLI_exist( file ) ) {
calc_renderwin_rectangle(640, 480, G.winpos, pos, size);
- sprintf( str, "\"%s\" -a -p %d %d \"%s\"", bprogname,
+ sprintf( str, "%s -a -p %d %d \"%s\"", bprogname,
pos[0], pos[1], file );
system( str );
} else