diff options
author | Graham Linden <graham@lindenlab.com> | 2019-08-27 12:49:18 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-08-27 12:49:18 -0700 |
commit | ad26896a1086536cf47d3cb0041b0410aebf2119 (patch) | |
tree | 66cbe552b9ea2d9a0992df0a63ffceacc504b866 /indra/newview/llsettingsvo.h | |
parent | b660db7324387e2fcc55312e2c4f05897ca2c0eb (diff) |
SL-11055
Remedy cloud_shadow and hack halving being done twice to ambient in some cases (i.e. artificial dimunition of necessary bullshit factor).
Diffstat (limited to 'indra/newview/llsettingsvo.h')
-rw-r--r-- | indra/newview/llsettingsvo.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llsettingsvo.h b/indra/newview/llsettingsvo.h index 6f105c9d61..1f29013ecf 100644 --- a/indra/newview/llsettingsvo.h +++ b/indra/newview/llsettingsvo.h @@ -102,7 +102,7 @@ public: bool isAdvanced() const { return m_isAdvanced; } - virtual void updateShader(LLGLSLShader* shader) { applySpecial(shader); } + virtual void updateShader(LLGLSLShader* shader) { applySpecial(shader, true); } protected: LLSettingsVOSky(); @@ -112,7 +112,7 @@ protected: virtual void updateSettings() override; - virtual void applySpecial(void *) override; + virtual void applySpecial(void *, bool) override; virtual parammapping_t getParameterMap() const override; @@ -136,13 +136,13 @@ public: static LLSD convertToLegacy(const ptr_t &); - virtual void updateShader(LLGLSLShader* shader) { applySpecial(shader); } + virtual void updateShader(LLGLSLShader* shader) { applySpecial(shader, true); } protected: LLSettingsVOWater(); virtual void updateSettings() override; - virtual void applySpecial(void *) override; + virtual void applySpecial(void *, bool) override; virtual parammapping_t getParameterMap() const override; |