mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T77734: random crash when rendering animation
Differential Revision: https://developer.blender.org/D7986
This commit is contained in:
parent
4e9ed1dae9
commit
e93663363e
1 changed files with 2 additions and 0 deletions
|
|
@ -838,9 +838,11 @@ int RE_engine_render(Render *re, int do_all)
|
|||
engine->resolution_x = re->winx;
|
||||
engine->resolution_y = re->winy;
|
||||
|
||||
BLI_rw_mutex_lock(&re->partsmutex, THREAD_LOCK_WRITE);
|
||||
RE_parts_init(re);
|
||||
engine->tile_x = re->partx;
|
||||
engine->tile_y = re->party;
|
||||
BLI_rw_mutex_unlock(&re->partsmutex);
|
||||
|
||||
if (re->result->do_exr_tile) {
|
||||
render_result_exr_file_begin(re, engine);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue