meow-7.2.2
Graham Linden 2019-02-08 14:29:55 -08:00
parent 1bbf62652c
commit 3e0c9087cd
1 changed files with 2 additions and 2 deletions

View File

@ -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;