diff options
author | Graham Linden <graham@lindenlab.com> | 2019-04-29 13:07:57 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-04-29 13:07:57 -0700 |
commit | 29f8e04ddba3b36776b295949d03ac44d6cb3b11 (patch) | |
tree | e04018635e95f96d21c7419d0e9c2fbdb2bee2f5 /indra/llinventory | |
parent | 0f83696585b8810c24d535432716215caf0c21e9 (diff) |
SL-11065
Modify is sun up logic to exclude condition of moon.
Diffstat (limited to 'indra/llinventory')
-rw-r--r-- | indra/llinventory/llsettingssky.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llinventory/llsettingssky.cpp b/indra/llinventory/llsettingssky.cpp index 1490708ca5..aa26cd8054 100644 --- a/indra/llinventory/llsettingssky.cpp +++ b/indra/llinventory/llsettingssky.cpp @@ -973,7 +973,7 @@ F32 LLSettingsSky::getSunMoonGlowFactor() const bool LLSettingsSky::getIsSunUp() const { LLVector3 sunDir = getSunDirection(); - return sunDir.mV[2] >= 0.0f || !getIsMoonUp(); + return sunDir.mV[2] >= 0.0f; } bool LLSettingsSky::getIsMoonUp() const |