From 71857f381e872eacdfd2352a30a017c38451e20c Mon Sep 17 00:00:00 2001 From: ziree Date: Mon, 23 May 2011 12:35:25 +0200 Subject: [PATCH] Made LookAt text easier to read. No bold, added drop shadow. --- indra/newview/llhudeffectlookat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llhudeffectlookat.cpp b/indra/newview/llhudeffectlookat.cpp index b31f8fdb3c..5bad5e1256 100644 --- a/indra/newview/llhudeffectlookat.cpp +++ b/indra/newview/llhudeffectlookat.cpp @@ -556,7 +556,7 @@ void LLHUDEffectLookAt::render() if ((show_names > 0) && !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) { // render name for crosshair - const LLFontGL* fontp=LLFontGL::getFont(LLFontDescriptor("SansSerif","Small",LLFontGL::BOLD)); + const LLFontGL* fontp=LLFontGL::getFont(LLFontDescriptor("SansSerif","Small",LLFontGL::NORMAL)); glMatrixMode(GL_MODELVIEW); glPushMatrix(); LLVector3 position=target+LLVector3(0.f,0.f,0.3f); @@ -581,7 +581,7 @@ void LLHUDEffectLookAt::render() } gViewerWindow->setup3DRender(); - hud_render_utf8text(name,position,*fontp,LLFontGL::NORMAL,LLFontGL::NO_SHADOW,-0.5*fontp->getWidthF32(name),3.0,lookAtColor,FALSE); + hud_render_utf8text(name,position,*fontp,LLFontGL::NORMAL,LLFontGL::DROP_SHADOW,-0.5*fontp->getWidthF32(name),3.0,lookAtColor,FALSE); glPopMatrix(); }