Blender Git Loki

Git Commits -> Revision b45828e

Revision b45828e by Patrick Mours (master)
November 4, 2019, 17:09 (GMT)
Fix T71123: OptiX error in Cycles viewport when adding HDRI

Cycles did not update the "is_enabled" flag on lights when they were synchronized again, which caused all lights disabled by "LightManager::disable_ineffective_light" to be disabled indefinitely. As a result the OptiX kernels were not reloaded with correct features when a change to a light was made. This fixes that by updating the "is_enabled" flag during synchronization.

Differential Revision: https://developer.blender.org/D6141

Commit Details:

Full Hash: b45828ebe9c6e729c5d65bb23f913088f3f8672c
Parent Commit: 8ab6ef3
Lines Changed: +8, -7

2 Modified Paths:

/intern/cycles/blender/blender_object.cpp (+3, -0) (Diff)
/intern/cycles/render/light.cpp (+5, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021