From dbcd1c273571a5d496b0d89db6bc224c2a0d672a Mon Sep 17 00:00:00 2001 From: maxim_productengine Date: Tue, 11 Dec 2018 13:24:48 +0200 Subject: SL-10186 FIXED When attempting to apply Day Offset of 0.0 the slider jumps to the last set Offset value --- indra/newview/llpanelenvironment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llpanelenvironment.cpp') diff --git a/indra/newview/llpanelenvironment.cpp b/indra/newview/llpanelenvironment.cpp index 7abb05b6fb..e3be46f1af 100644 --- a/indra/newview/llpanelenvironment.cpp +++ b/indra/newview/llpanelenvironment.cpp @@ -557,7 +557,7 @@ void LLPanelEnvironmentInfo::onSldDayOffsetChanged(F32 value) { F32Hours dayoffset(value); - if (dayoffset.value() < 0.0f) + if (dayoffset.value() <= 0.0f) dayoffset += F32Hours(24.0); mCurrentEnvironment->mDayOffset = dayoffset; -- cgit v1.2.3