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

This commit is contained in:
Brecht Van Lommel 2022-12-15 19:13:55 +01:00
parent c6ff8eb837
commit 62f8d0d8c8
Notes: blender-bot 2023-02-14 08:49:53 +01:00
Referenced by issue #103170, Cycles: Light threshold does not update as the exposure is adjusted in viewport rendering.
1 changed files with 3 additions and 0 deletions

View File

@ -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);