diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-09-02 10:58:41 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-09-02 10:58:41 +0300 |
commit | b399a6d33f9b133a26d38fd0e1e5321cbef0693b (patch) | |
tree | 4d89cc16d82db6da406d87b71a0df477e9f387be /intern/cycles/render/light.h | |
parent | fce8f24628d283baf50addd9392f5ae3c4acfd5a (diff) |
Fix T49180: Cycles MIS Map for Animated Environment Texture Movie Doesn't Update on Frame Change
Not really ideal fix at all, but we are at RC today, so better to play really safe.
Diffstat (limited to 'intern/cycles/render/light.h')
-rw-r--r-- | intern/cycles/render/light.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/light.h b/intern/cycles/render/light.h index 745caa96159..040a672937d 100644 --- a/intern/cycles/render/light.h +++ b/intern/cycles/render/light.h @@ -91,6 +91,9 @@ public: void tag_update(Scene *scene); + /* Check whether there is a background light. */ + bool has_background_light(Scene *scene); + protected: /* Optimization: disable light which is either unsupported or * which doesn't contribute to the scene or which is only used for MIS |