summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterenvironmentadjust.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-10-01 13:39:35 +0800
committerErik Kundiman <erik@megapahit.org>2023-10-01 13:39:35 +0800
commitdcdd85e4342305bf363c76e6de1e8f8e0ea8840d (patch)
treeeedd18efe98fc65b2244557a79d10b99c993ad7c /indra/newview/llfloaterenvironmentadjust.cpp
parent5dfad9ddbb5c7dce635ba01f3fe480bd42896532 (diff)
parenta95ad7aac7248c5b81e5d9dd9e606b5ecb61e301 (diff)
Merge branch 'DRTVWR-559' of https://github.com/secondlife/viewer into DRTVWR-559
Diffstat (limited to 'indra/newview/llfloaterenvironmentadjust.cpp')
-rw-r--r--indra/newview/llfloaterenvironmentadjust.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloaterenvironmentadjust.cpp b/indra/newview/llfloaterenvironmentadjust.cpp
index 18be4fffda..f3133ecb37 100644
--- a/indra/newview/llfloaterenvironmentadjust.cpp
+++ b/indra/newview/llfloaterenvironmentadjust.cpp
@@ -495,10 +495,12 @@ void LLFloaterEnvironmentAdjust::updateGammaLabel()
if (ambiance != 0.f)
{
childSetValue("scene_gamma_label", getString("hdr_string"));
+ getChild<LLUICtrl>(FIELD_SKY_SCENE_GAMMA)->setToolTip(getString("hdr_tooltip"));
}
else
{
childSetValue("scene_gamma_label", getString("brightness_string"));
+ getChild<LLUICtrl>(FIELD_SKY_SCENE_GAMMA)->setToolTip(std::string());
}
}