forked from bartvdbraak/blender
Dang... on background rendering (renderfarm) the user preset for temp dir
isn't set. Hardcoded it to /tmp/ now. Have put on list this requires a better solution (same issue open for yafray afaik)
This commit is contained in:
parent
b8cde0000f
commit
e2660f614d
@ -281,7 +281,10 @@ static void render_unique_exr_name(Render *re, char *str)
|
||||
BLI_strncpy(di, G.sce, FILE_MAXDIR+FILE_MAXFILE);
|
||||
BLI_splitdirstring(di, fi);
|
||||
sprintf(name, "%s_%s.exr", fi, re->scene->id.name+2);
|
||||
BLI_make_file_string("/", str, U.tempdir, name);
|
||||
if(G.background)
|
||||
BLI_make_file_string("/", str, "/tmp/", name);
|
||||
else
|
||||
BLI_make_file_string("/", str, U.tempdir, name);
|
||||
|
||||
printf("exr file %s\n", str);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user