[Bf-blender-cvs] [62f8d0d8c84] master: Fix T103170: missing Cycles viewport light threshold update after exposure edit

Brecht Van Lommel noreply at git.blender.org
Thu Dec 15 19:20:03 CET 2022


Commit: 62f8d0d8c84e96e94fc580b7482e46298bfef822
Author: Brecht Van Lommel
Date:   Thu Dec 15 19:13:55 2022 +0100
Branches: master
https://developer.blender.org/rB62f8d0d8c84e96e94fc580b7482e46298bfef822

Fix T103170: missing Cycles viewport light threshold update after exposure edit

===================================================================

M	intern/cycles/scene/scene.cpp

===================================================================

diff --git a/intern/cycles/scene/scene.cpp b/intern/cycles/scene/scene.cpp
index db96af19530..e4552713a9d 100644
--- a/intern/cycles/scene/scene.cpp
+++ b/intern/cycles/scene/scene.cpp
@@ -257,6 +257,9 @@ void Scene::device_update(Device *device_, Progress &progress)
     light_manager->tag_update(this, ccl::LightManager::LIGHT_MODIFIED);
     object_manager->tag_update(this, ccl::ObjectManager::OBJECT_MODIFIED);
   }
+  if (film->exposure_is_modified()) {
+    integrator->tag_modified();
+  }
 
   progress.set_status("Updating Shaders");
   shader_manager->device_update(device, &dscene, this, progress);



More information about the Bf-blender-cvs mailing list