[Bf-blender-cvs] [52c349cfcd2] master: Fix T90511: Cycles preview does not update once preview is done
Sergey Sharybin
noreply at git.blender.org
Mon Aug 9 10:31:11 CEST 2021
Commit: 52c349cfcd28f402e6e73450831078fbd3fbbf08
Author: Sergey Sharybin
Date: Mon Aug 9 10:26:58 2021 +0200
Branches: master
https://developer.blender.org/rB52c349cfcd28f402e6e73450831078fbd3fbbf08
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.
===================================================================
M intern/cycles/render/session.cpp
===================================================================
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();
}
More information about the Bf-blender-cvs
mailing list