summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-05-11 17:44:58 -0700
committerRichard Linden <none@none>2010-05-11 17:44:58 -0700
commiteb1bf97b1eb32dfe30604a8e82e60a20d1807128 (patch)
treeffb99b1102318f4b5abeaea4be5b1a58119c056f /indra/newview
parent889fa5e55db250a9da3fc95f4ea816ad4cb655c9 (diff)
EXT-1998 - [BSI] Hover text on HUD attachments is offset toward the right
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llhudrender.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llhudrender.cpp b/indra/newview/llhudrender.cpp
index 5b653638f2..47fe641680 100644
--- a/indra/newview/llhudrender.cpp
+++ b/indra/newview/llhudrender.cpp
@@ -78,8 +78,8 @@ void hud_render_text(const LLWString &wstr, const LLVector3 &pos_agent,
LLVector3 up_axis;
if (orthographic)
{
- right_axis.setVec(0.f, -1.f / gViewerWindow->getWorldViewHeightRaw(), 0.f);
- up_axis.setVec(0.f, 0.f, 1.f / gViewerWindow->getWorldViewHeightRaw());
+ right_axis.setVec(0.f, -1.f / gViewerWindow->getWorldViewHeightScaled(), 0.f);
+ up_axis.setVec(0.f, 0.f, 1.f / gViewerWindow->getWorldViewHeightScaled());
}
else
{