forked from bartvdbraak/blender
Fix T37994: crash in preview render after recent color management changes.
Reviewed By: brecht
This commit is contained in:
parent
1fa63b317a
commit
9939ec06dd
@ -1038,10 +1038,16 @@ static void threaded_tile_processor(Render *re)
|
||||
thread[a].workqueue = workqueue;
|
||||
thread[a].donequeue = donequeue;
|
||||
thread[a].number = a;
|
||||
|
||||
if (render_display_update_enabled(re)) {
|
||||
thread[a].display_update = re->display_update;
|
||||
thread[a].duh = re->duh;
|
||||
}
|
||||
else {
|
||||
thread[a].display_update = NULL;
|
||||
thread[a].duh = NULL;
|
||||
}
|
||||
|
||||
BLI_insert_thread(&threads, &thread[a]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user