diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-09-28 23:35:09 +0300 |
---|---|---|
committer | akleshchev <117672381+akleshchev@users.noreply.github.com> | 2023-09-29 00:05:12 +0300 |
commit | a95ad7aac7248c5b81e5d9dd9e606b5ecb61e301 (patch) | |
tree | 91dbbeac81923bb75aa2baa77039b58206e187ea /indra/newview/llfloaterenvironmentadjust.cpp | |
parent | a4c2eab969b1971389408de5a3927f87d74a6d6d (diff) |
SL-20337 Add tooltips for HDR Scale and Reflection Probe Ambience environment sliders
Diffstat (limited to 'indra/newview/llfloaterenvironmentadjust.cpp')
-rw-r--r-- | indra/newview/llfloaterenvironmentadjust.cpp | 2 |
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()); } } |