diff options
author | Graham Linden <graham@lindenlab.com> | 2019-02-08 14:29:55 -0800 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-02-08 14:29:55 -0800 |
commit | 3e0c9087cd6b26a64831f99bf9be05daa1dec510 (patch) | |
tree | 8b9ea66dda72bea33555ba133140776c93a62384 /indra | |
parent | 1bbf62652c0b3cfdb2046ef5a3d632f56160bb8d (diff) |
SL-10414
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llinventory/llsettingssky.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llinventory/llsettingssky.cpp b/indra/llinventory/llsettingssky.cpp index 72a3c7b01c..af7425cca0 100644 --- a/indra/llinventory/llsettingssky.cpp +++ b/indra/llinventory/llsettingssky.cpp @@ -954,7 +954,7 @@ void LLSettingsSky::updateSettings() F32 LLSettingsSky::getSunMoonGlowFactor() const { - LLVector3 sunDir = getSunDirection(); + LLVector3 sunDir = getSunDirection(); LLVector3 moonDir = getMoonDirection(); // sun glow at full iff moon is not up @@ -968,7 +968,7 @@ F32 LLSettingsSky::getSunMoonGlowFactor() const if (moonDir.mV[2] > 0.0f) { - return moonDir.mV[VZ] / 3.0f; // ramp moon glow at moonset + return 0.25f; } return 0.0f; |