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 committed by Hans Goudey
parent 6b26b0db21
commit f1f2ff1116
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);