diff options
author | Graham Linden <graham@lindenlab.com> | 2018-06-01 00:18:36 +0100 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-06-01 00:18:36 +0100 |
commit | 64302d3000b69b31e72eb6a3bd8a981c80cb88de (patch) | |
tree | d942aa56bc50bd44542ff5f7757d46a6189e8036 /indra/newview/lltoolgun.cpp | |
parent | 439273c9c11ec5f3c186fd7d97a28d11419153cd (diff) |
Modify use of sky settings, reduce complexity, and name funcs to indicate coord systems in use.
Fix class2 softenLightF shader.
Diffstat (limited to 'indra/newview/lltoolgun.cpp')
-rw-r--r-- | indra/newview/lltoolgun.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltoolgun.cpp b/indra/newview/lltoolgun.cpp index 6903e69d46..fb96804bfa 100644 --- a/indra/newview/lltoolgun.cpp +++ b/indra/newview/lltoolgun.cpp @@ -108,7 +108,7 @@ BOOL LLToolGun::handleHover(S32 x, S32 y, MASK mask) if (gSavedSettings.getBOOL("MouseSun")) { LLVector3 sunpos = LLViewerCamera::getInstance()->getAtAxis(); - gSky.setSunDirection(sunpos, -sunpos); + gSky.setSunAndMoonDirectionsCFR(sunpos, -sunpos); gSavedSettings.setVector3("SkySunDefaultPosition", LLViewerCamera::getInstance()->getAtAxis()); } |