summaryrefslogtreecommitdiff
path: root/indra/newview/llvosky.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-01-31 23:06:53 +0000
committerRider Linden <rider@lindenlab.com>2019-01-31 23:06:53 +0000
commit2456715a407cc11f3e0077cb3c54e21188e6ec86 (patch)
treeb52162e8c228c2822d9a1165a1c81dfa3e47661e /indra/newview/llvosky.cpp
parent29e8215faaf0ed949ffadd81eeb92b43d6af1f3f (diff)
parentf1ee481b82275cfadbce156514920750ebdd3065 (diff)
Merged in graham_linden/viewer-eep-fixes (pull request #253)
SL-10443, SL-9994, SL-10374, SL-10081
Diffstat (limited to 'indra/newview/llvosky.cpp')
-rw-r--r--indra/newview/llvosky.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llvosky.cpp b/indra/newview/llvosky.cpp
index 7b5a922bbd..678f1fe748 100644
--- a/indra/newview/llvosky.cpp
+++ b/indra/newview/llvosky.cpp
@@ -1213,9 +1213,9 @@ bool LLVOSky::updateHeavenlyBodyGeometry(LLDrawable *drawable, F32 scale, const
LLFace *facep;
LLQuaternion rot = hb.getRotation();
- LLVector3 to_dir = LLVector3::x_axis * rot;
- LLVector3 hb_right = LLVector3::y_axis * rot;
- LLVector3 hb_up = LLVector3::z_axis * rot;
+ LLVector3 to_dir = LLVector3::x_axis * rot;
+ LLVector3 hb_right = LLVector3::y_axis_neg * rot;
+ LLVector3 hb_up = LLVector3::z_axis * rot;
LLVector3 draw_pos = to_dir * HEAVENLY_BODY_DIST;