diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-06-02 19:44:43 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-06-02 20:44:12 +0300 |
commit | 52cc412e0f56f249d932e1025ea191939c1a6edb (patch) | |
tree | 2a1b261ca86d2868f4a9bf4ce7e5969c58f301db /intern/cycles/render/light.h | |
parent | eba3aa1837e40bf168528b1e3588540a7f241e1e (diff) |
Revert "Fix T63588: Cycles unnecessarily updates background importance sampling map"
This reverts commit 33ce0cb5a1edea4b5aaa7d37f6ad74b3b35b95f8.
Fix T77273: crash enabling portal lights. The optimization for background
updates can be added back later for 2.90 and 2.83.1.
Diffstat (limited to 'intern/cycles/render/light.h')
-rw-r--r-- | intern/cycles/render/light.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/intern/cycles/render/light.h b/intern/cycles/render/light.h index 1a99b2b76ae..4f3048c1f32 100644 --- a/intern/cycles/render/light.h +++ b/intern/cycles/render/light.h @@ -88,9 +88,6 @@ class LightManager { bool use_light_visibility; bool need_update; - /* Need to update background (including multiple importance map) */ - bool need_update_background; - LightManager(); ~LightManager(); @@ -100,7 +97,7 @@ class LightManager { void remove_ies(int slot); void device_update(Device *device, DeviceScene *dscene, Scene *scene, Progress &progress); - void device_free(Device *device, DeviceScene *dscene, const bool free_background = true); + void device_free(Device *device, DeviceScene *dscene); void tag_update(Scene *scene); |