summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2018-10-12 15:14:46 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2018-10-12 15:14:46 +0300
commitefb45915a13af81266a266d8d662b529941dc40c (patch)
treec82073713451c27a245fd559c4d96be80b39234f
parent451b47637274ef43973bb880bbc3192bf18b46a0 (diff)
SL-9873 EEP setting Day Offset > 8.0 causes it to go to -12.0
-rw-r--r--indra/newview/llpanelenvironment.cpp2
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());