From efb45915a13af81266a266d8d662b529941dc40c Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Fri, 12 Oct 2018 15:14:46 +0300 Subject: SL-9873 EEP setting Day Offset > 8.0 causes it to go to -12.0 --- indra/newview/llpanelenvironment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') 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(SLD_DAYLENGTH)->setValue(daylength.value()); -- cgit v1.2.3