Fix missing render result when using region render
Caused by lazy allocation of passes.
This commit is contained in:
parent
af7233368d
commit
d8b445e728
Notes:
blender-bot
2023-02-14 09:09:43 +01:00
Referenced by issue #91092, Render crash Referenced by issue #90902, Rendering with render region active doesn't work / crashes while saving the result
|
@ -1041,6 +1041,7 @@ static void render_result_uncrop(Render *re)
|
|||
render_result_disprect_to_full_resolution(re);
|
||||
|
||||
rres = render_result_new(re, &re->disprect, RR_USE_MEM, RR_ALL_LAYERS, RR_ALL_VIEWS);
|
||||
render_result_passes_allocated_ensure(rres);
|
||||
rres->stamp_data = BKE_stamp_data_copy(re->result->stamp_data);
|
||||
|
||||
render_result_clone_passes(re, rres, NULL);
|
||||
|
|
Loading…
Reference in New Issue