summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-12-11 13:24:48 +0200
committermaxim_productengine <mnikolenko@productengine.com>2018-12-11 13:24:48 +0200
commitdbcd1c273571a5d496b0d89db6bc224c2a0d672a (patch)
tree5b86095eaf67d785817377cf79a1f3bf6f2cef2b /indra/newview
parent87e83274f7f0be38c571c9f01848368d0fc160bf (diff)
SL-10186 FIXED When attempting to apply Day Offset of 0.0 the slider jumps to the last set Offset value
Diffstat (limited to 'indra/newview')
-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 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;