diff options
author | Graham Linden <graham@lindenlab.com> | 2019-02-01 09:45:07 -0800 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-02-01 09:45:07 -0800 |
commit | 50b383e5aa333d453e906ae2beb28fe1da549bef (patch) | |
tree | 18564d88a58046499aa3eec3d65300e00e2c9c53 /indra/llinventory | |
parent | 2456715a407cc11f3e0077cb3c54e21188e6ec86 (diff) |
Fix issue with OSX shader compiler not implementing #if correctly (nice job, Timmy).
Diffstat (limited to 'indra/llinventory')
-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 f3519dc7cb..44ed16e0f9 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] > NIGHTTIME_ELEVATION_SIN; + return sunDir.mV[2] > 0;//NIGHTTIME_ELEVATION_SIN; } bool LLSettingsSky::getIsMoonUp() const { LLVector3 moonDir = getMoonDirection(); - return moonDir.mV[2] > NIGHTTIME_ELEVATION_SIN; + return moonDir.mV[2] > 0;//NIGHTTIME_ELEVATION_SIN; } void LLSettingsSky::calculateHeavenlyBodyPositions() const |