Fix T39029: Blender Internal: Render tiles do not appear until render is finished if Save Buffers enabled

This commit is contained in:
Sergey Sharybin 2014-03-11 19:55:22 +06:00
parent 658b4c0d56
commit 89c793f70f
Notes: blender-bot 2023-02-14 11:02:46 +01:00
Referenced by issue #39029, Blender Internal: Render tiles do not appear until render is finished if Save Buffers enabled
1 changed files with 8 additions and 0 deletions

View File

@ -796,6 +796,14 @@ static void *do_part_thread(void *pa_v)
else
pa->result = render_result_new(&R, &pa->disprect, pa->crop, RR_USE_MEM, RR_ALL_LAYERS);
/* Copy EXR tile settings, so pipeline knows whether this is a result
* for Save Buffers enabled rendering.
*
* TODO(sergey): This actually duplicates logic with external engine, so
* worth looking into more generic solution.
*/
pa->result->do_exr_tile = R.result->do_exr_tile;
if (R.sss_points)
zbufshade_sss_tile(pa);
else if (R.osa)