From 53b71f0dc3d8a947225c2ca2ecf22b30fb7667d2 Mon Sep 17 00:00:00 2001
From: Graham Linden <graham@lindenlab.com>
Date: Wed, 24 Jul 2019 13:45:03 -0700
Subject: SL-11600

Make default direction when neither sun nor moon are up straight down instead of noon.
---
 indra/llinventory/llsettingssky.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'indra')

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
-- 
cgit v1.2.3