diff options
author | Graham Linden <graham@lindenlab.com> | 2019-02-01 09:49:55 -0800 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-02-01 09:49:55 -0800 |
commit | db97bb51489dc610fd748b73c321a08e7388d668 (patch) | |
tree | 4cceb127e8352e85c2c60ca2f41cf4e31ed7cccb /indra/llinventory/llsettingssky.cpp | |
parent | 50b383e5aa333d453e906ae2beb28fe1da549bef (diff) |
Roll back attempted fix for 9996 on ALM which has unacceptable knock-on effects.
Diffstat (limited to 'indra/llinventory/llsettingssky.cpp')
-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 44ed16e0f9..f3519dc7cb 100644 --- a/indra/llinventory/llsettingssky.cpp +++ b/indra/llinventory/llsettingssky.cpp @@ -955,13 +955,13 @@ void LLSettingsSky::updateSettings() bool LLSettingsSky::getIsSunUp() const { LLVector3 sunDir = getSunDirection(); - return sunDir.mV[2] > 0;//NIGHTTIME_ELEVATION_SIN; + return sunDir.mV[2] > NIGHTTIME_ELEVATION_SIN; } bool LLSettingsSky::getIsMoonUp() const { LLVector3 moonDir = getMoonDirection(); - return moonDir.mV[2] > 0;//NIGHTTIME_ELEVATION_SIN; + return moonDir.mV[2] > NIGHTTIME_ELEVATION_SIN; } void LLSettingsSky::calculateHeavenlyBodyPositions() const |