EXT-1998 [BSI] Hover text on HUD attachments is offset toward the right
Reviewed by Richard CC#193master
parent
54ae102c52
commit
211b7f600e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue