diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-04-16 14:16:49 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-04-16 14:16:49 -0700 |
commit | 211b7f600ed5d4c8dac235006ad55d20522eb7ea (patch) | |
tree | 4603e97ffd181c906d407cf7b4f110e16c9e7319 /indra/newview/llhudrender.cpp | |
parent | 54ae102c5282bae1371fbd7de0cb51eae75b4040 (diff) |
EXT-1998 [BSI] Hover text on HUD attachments is offset toward the right
Reviewed by Richard CC#193
Diffstat (limited to 'indra/newview/llhudrender.cpp')
-rw-r--r-- | indra/newview/llhudrender.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llhudrender.cpp b/indra/newview/llhudrender.cpp index 325c9c260c..5b653638f2 100644 --- a/indra/newview/llhudrender.cpp +++ b/indra/newview/llhudrender.cpp @@ -78,7 +78,7 @@ void hud_render_text(const LLWString &wstr, const LLVector3 &pos_agent, LLVector3 up_axis; if (orthographic) { - right_axis.setVec(0.f, -1.f / gViewerWindow->getWorldViewWidthRaw(), 0.f); + right_axis.setVec(0.f, -1.f / gViewerWindow->getWorldViewHeightRaw(), 0.f); up_axis.setVec(0.f, 0.f, 1.f / gViewerWindow->getWorldViewHeightRaw()); } else |