summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneleditsky.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/llpaneleditsky.cpp
parent5dfad9ddbb5c7dce635ba01f3fe480bd42896532 (diff)
parenta95ad7aac7248c5b81e5d9dd9e606b5ecb61e301 (diff)
Merge branch 'DRTVWR-559' of https://github.com/secondlife/viewer into DRTVWR-559
Diffstat (limited to 'indra/newview/llpaneleditsky.cpp')
-rw-r--r--indra/newview/llpaneleditsky.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpaneleditsky.cpp b/indra/newview/llpaneleditsky.cpp
index 0a7a4763be..839f25761a 100644
--- a/indra/newview/llpaneleditsky.cpp
+++ b/indra/newview/llpaneleditsky.cpp
@@ -342,10 +342,12 @@ void LLPanelSettingsSkyAtmosTab::updateGammaLabel(bool auto_adjust)
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());
}
}