diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2019-06-06 17:38:36 +0300 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2019-06-06 17:38:36 +0300 |
commit | 7049757342a45a60d1d35bd59a6af307a17cf0d4 (patch) | |
tree | 37c7ea454d2bc34ecfe560dd1f984643ea4b3675 /indra/newview | |
parent | 6504a7b598cd70d316ade1b218ac6144bcce7411 (diff) |
SL-11376 FIXED [EEP] The 'Environment' tab becomes inactive after CTRL + left-clicking on the 'Sky Altitudes'
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llpanelenvironment.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llpanelenvironment.cpp b/indra/newview/llpanelenvironment.cpp index 034e5f81b4..554fe6e9bc 100644 --- a/indra/newview/llpanelenvironment.cpp +++ b/indra/newview/llpanelenvironment.cpp @@ -736,6 +736,9 @@ void LLPanelEnvironmentInfo::onAltSliderCallback(LLUICtrl *cntrl, const LLSD &da { LLMultiSliderCtrl *sld = (LLMultiSliderCtrl *)cntrl; std::string sld_name = sld->getCurSlider(); + + if (sld_name.empty()) return; + F32 sld_value = sld->getCurSliderValue(); mAltitudes[sld_name].mAltitude = sld_value; |