[Bf-blender-cvs] [f1f2ff11164] geometry-nodes-simulation: Fix T103170: missing Cycles viewport light threshold update after exposure edit

Brecht Van Lommel noreply at git.blender.org
Mon Dec 19 19:05:22 CET 2022


Commit: f1f2ff1116400f9041124a3716583963f1ce7520
Author: Brecht Van Lommel
Date:   Thu Dec 15 19:13:55 2022 +0100
Branches: geometry-nodes-simulation
https://developer.blender.org/rBf1f2ff1116400f9041124a3716583963f1ce7520

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