diff options
author | Alexander Ewering <blender@instinctive.de> | 2006-11-18 04:45:47 +0300 |
---|---|---|
committer | Alexander Ewering <blender@instinctive.de> | 2006-11-18 04:45:47 +0300 |
commit | a94925809be8230c40c3d6c0666aa3c58349a2d8 (patch) | |
tree | eaada55a7e0fdb865cf6f17ea07f916bc32261c5 /source/blender/src/buttons_scene.c | |
parent | 41cb8f15eaf8a8db4d2a32a25d3c1c41bff8addd (diff) |
Bugfix for:
http://projects.blender.org/tracker/index.php?func=detail&aid=4786&group_id=9&atid=125
If the path to Blender contained whitespace, various places which called
the Blender executable wouldn't run. Now the path to the executable
should be quoted correctly everywhere.
If this breaks anything on other platforms, please shout :)
Diffstat (limited to 'source/blender/src/buttons_scene.c')
-rw-r--r-- | source/blender/src/buttons_scene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/buttons_scene.c b/source/blender/src/buttons_scene.c index 807320ca060..19e23f23377 100644 --- a/source/blender/src/buttons_scene.c +++ b/source/blender/src/buttons_scene.c @@ -483,7 +483,7 @@ static void run_playanim(char *file) calc_renderwin_rectangle((G.scene->r.xsch*G.scene->r.size)/100, (G.scene->r.ysch*G.scene->r.size)/100, G.winpos, pos, size); - sprintf(str, "%s -a -p %d %d \"%s\"", bprogname, pos[0], pos[1], file); + sprintf(str, "\"%s\" -a -p %d %d \"%s\"", bprogname, pos[0], pos[1], file); system(str); } |