From 52c349cfcd28f402e6e73450831078fbd3fbbf08 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 9 Aug 2021 10:26:58 +0200 Subject: 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. --- intern/cycles/render/session.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); } -- cgit v1.2.3