diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-08-09 11:26:58 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-08-09 11:28:54 +0300 |
commit | 52c349cfcd28f402e6e73450831078fbd3fbbf08 (patch) | |
tree | ef8724690334210020bb53b5bcd9ad6a169488b0 /intern/cycles | |
parent | b417fb92513cf9c579d94218566067b20b1eeda0 (diff) |
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.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/render/session.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/render/session.cpp b/intern/cycles/render/session.cpp index 1a08d8f52d6..1b91c49f0ea 100644 --- a/intern/cycles/render/session.cpp +++ b/intern/cycles/render/session.cpp @@ -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(); } |