diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-10-12 15:14:46 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-10-12 15:14:46 +0300 |
commit | efb45915a13af81266a266d8d662b529941dc40c (patch) | |
tree | c82073713451c27a245fd559c4d96be80b39234f | |
parent | 451b47637274ef43973bb880bbc3192bf18b46a0 (diff) |
SL-9873 EEP setting Day Offset > 8.0 causes it to go to -12.0
-rw-r--r-- | indra/newview/llpanelenvironment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelenvironment.cpp b/indra/newview/llpanelenvironment.cpp index 5abef949e1..a260f98181 100644 --- a/indra/newview/llpanelenvironment.cpp +++ b/indra/newview/llpanelenvironment.cpp @@ -232,7 +232,7 @@ void LLPanelEnvironmentInfo::refresh() F32Hours daylength(mCurrentEnvironment->mDayLength); F32Hours dayoffset(mCurrentEnvironment->mDayOffset); - if (dayoffset.value() > 8.0f) + if (dayoffset.value() > 12.0f) dayoffset -= F32Hours(24.0); getChild<LLSliderCtrl>(SLD_DAYLENGTH)->setValue(daylength.value()); |