Fix T90511: Cycles preview does not update once preview is done
Caused by 4f64fa4f86
.
Was a bad backport from the Cycles X branch: the fact that CPU and GPU
has different reset code paths was not taken into account.
This commit is contained in:
parent
b417fb9251
commit
52c349cfcd
Notes:
blender-bot
2023-02-14 11:25:11 +01:00
Referenced by issue #90511, Preview does not update once preview is done
|
@ -185,6 +185,8 @@ void Session::reset_gpu(BufferParams &buffer_params, int samples)
|
|||
gpu_need_display_buffer_update_ = false;
|
||||
gpu_need_display_buffer_update_cond_.notify_all();
|
||||
|
||||
new_work_added_ = true;
|
||||
|
||||
pause_cond_.notify_all();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue