summaryrefslogtreecommitdiff
path: root/indra/llinventory/llsettingssky.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-07-24 13:45:03 -0700
committerGraham Linden <graham@lindenlab.com>2019-07-24 13:45:03 -0700
commit53b71f0dc3d8a947225c2ca2ecf22b30fb7667d2 (patch)
tree7a6b348c26ec43f2317dc610f2619b57f0153044 /indra/llinventory/llsettingssky.cpp
parent41ede77744489c2a2d32849ea457bcbea516a588 (diff)
SL-11600
Make default direction when neither sun nor moon are up straight down instead of noon.
Diffstat (limited to 'indra/llinventory/llsettingssky.cpp')
-rw-r--r--indra/llinventory/llsettingssky.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llinventory/llsettingssky.cpp b/indra/llinventory/llsettingssky.cpp
index 75b4415086..434270d178 100644
--- a/indra/llinventory/llsettingssky.cpp
+++ b/indra/llinventory/llsettingssky.cpp
@@ -1000,7 +1000,7 @@ LLVector3 LLSettingsSky::getLightDirection() const
return mMoonDirection;
}
- return LLVector3::z_axis;
+ return -LLVector3::z_axis;
}
LLColor3 LLSettingsSky::getLightDiffuse() const