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:
Sergey Sharybin 2021-08-09 10:26:58 +02:00
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
1 changed files with 2 additions and 0 deletions

View File

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