summaryrefslogtreecommitdiff
path: root/indra/llinventory/llsettingssky.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llinventory/llsettingssky.cpp')
-rw-r--r--indra/llinventory/llsettingssky.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llinventory/llsettingssky.cpp b/indra/llinventory/llsettingssky.cpp
index a9b83657b7..45396ce9c7 100644
--- a/indra/llinventory/llsettingssky.cpp
+++ b/indra/llinventory/llsettingssky.cpp
@@ -2065,6 +2065,14 @@ F32 LLSettingsSky::getTonemapMix() const
return mTonemapMix;
}
+void LLSettingsSky::setTonemapMix(F32 mix)
+{
+ if (mCanAutoAdjust)
+ return;
+
+ mTonemapMix = mix;
+}
+
void LLSettingsSky::setGamma(F32 val)
{
mGamma = val;