Fix T90511: Cycles preview does not update once preview is done

Caused by 4f64fa4f8628.

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:
Sergey Sharybin 2021-08-09 10:26:58 +02:00
parent b417fb9251
commit 52c349cfcd

@ -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();
}