Fix T37994: crash in preview render after recent color management changes.
Reviewed By: brecht
This commit is contained in:

committed by
Brecht Van Lommel

parent
1fa63b317a
commit
9939ec06dd
@@ -1038,10 +1038,16 @@ static void threaded_tile_processor(Render *re)
|
|||||||
thread[a].workqueue = workqueue;
|
thread[a].workqueue = workqueue;
|
||||||
thread[a].donequeue = donequeue;
|
thread[a].donequeue = donequeue;
|
||||||
thread[a].number = a;
|
thread[a].number = a;
|
||||||
|
|
||||||
if (render_display_update_enabled(re)) {
|
if (render_display_update_enabled(re)) {
|
||||||
thread[a].display_update = re->display_update;
|
thread[a].display_update = re->display_update;
|
||||||
thread[a].duh = re->duh;
|
thread[a].duh = re->duh;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
thread[a].display_update = NULL;
|
||||||
|
thread[a].duh = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
BLI_insert_thread(&threads, &thread[a]);
|
BLI_insert_thread(&threads, &thread[a]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user