EXT-1998 [BSI] Hover text on HUD attachments is offset toward the right

Reviewed by Richard CC#193
master
Leyla Farazha 2010-04-16 14:16:49 -07:00
parent 54ae102c52
commit 211b7f600e
1 changed files with 1 additions and 1 deletions

View File

@ -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