Fix Issue 1960: Wrong positon display in mouselook

This commit is contained in:
Inusaito Sayori
2015-07-16 17:14:05 -04:00
parent 7ee66bebe2
commit bb2537dbaf

View File

@@ -5082,14 +5082,14 @@ void LLViewerWindow::drawMouselookInstructions()
LLFontGL::HCENTER, LLFontGL::TOP,
LLFontGL::BOLD, LLFontGL::DROP_SHADOW_SOFT);
font->renderUTF8(
llformat("Y: %.2f", vec.mV[VX]), 0,
llformat("Y: %.2f", vec.mV[VY]), 0,
text_pos_start + 100,
INSTRUCTIONS_PAD,
LLColor4(0.5f, 1.0f, 0.5f, 0.5),
LLFontGL::HCENTER, LLFontGL::TOP,
LLFontGL::BOLD, LLFontGL::DROP_SHADOW_SOFT);
font->renderUTF8(
llformat("Z: %.2f", vec.mV[VX]), 0,
llformat("Z: %.2f", vec.mV[VZ]), 0,
text_pos_start + 200,
INSTRUCTIONS_PAD,
LLColor4(0.5f, 0.5f, 1.0f, 0.5),