summaryrefslogtreecommitdiff
path: root/indra/llinventory/llsettingssky.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-06-29 13:00:25 -0700
committerRider Linden <rider@lindenlab.com>2018-06-29 13:00:25 -0700
commit6a1f7955ac7f1407ef7bc70af720c0327b38c455 (patch)
tree0ad196ba97fdcd8ffe895c40550ddb6dab711d0b /indra/llinventory/llsettingssky.cpp
parent96e8e670e104d852b1a925976f3d935448eba103 (diff)
parent6f5ea064c02a9fd473cad6ce7bc2bd4c9f791c99 (diff)
Merge
Diffstat (limited to 'indra/llinventory/llsettingssky.cpp')
-rw-r--r--indra/llinventory/llsettingssky.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llinventory/llsettingssky.cpp b/indra/llinventory/llsettingssky.cpp
index 475b5fcf79..fc783f99e0 100644
--- a/indra/llinventory/llsettingssky.cpp
+++ b/indra/llinventory/llsettingssky.cpp
@@ -615,9 +615,8 @@ LLSD LLSettingsSky::defaults(const LLSettingsBase::TrackPosition& position)
// give the sun and moon slightly different tracks through the sky
// instead of positioning them at opposite poles from each other...
- // but keep them on opposite sides of the sky.
sunquat = convert_azimuth_and_altitude_to_quat(altitude, azimuth);
- moonquat = convert_azimuth_and_altitude_to_quat(-(altitude + (F_PI * 0.125f)), azimuth + (F_PI * 1.125f));
+ moonquat = convert_azimuth_and_altitude_to_quat(altitude + (F_PI * 0.125f), azimuth + (F_PI * 0.125f));
// Magic constants copied form dfltsetting.xml
dfltsetting[SETTING_CLOUD_COLOR] = LLColor4(0.4099, 0.4099, 0.4099, 0.0).getValue();