Potential bugfix for an exr tile writing crash. SSS preprocessing now

doesn't write tiles to disk anymore (there is no reason to do so).
This commit is contained in:
Brecht Van Lommel
2008-02-08 22:09:47 +00:00
parent 5bab02b5cb
commit 611e6e79e2

View File

@@ -1454,7 +1454,9 @@ static void threaded_tile_processor(Render *re)
/* first step; free the entire render result, make new, and/or prepare exr buffer saving */
RE_FreeRenderResult(re->result);
if(!re->sss_points && (re->r.scemode & R_FULL_SAMPLE))
if(re->sss_points)
re->result= new_render_result(re, &re->disprect, 0, 0);
else if(re->r.scemode & R_FULL_SAMPLE)
re->result= new_full_sample_buffers_exr(re);
else
re->result= new_render_result(re, &re->disprect, 0, re->r.scemode & R_EXR_TILE_FILE);