From 5919c9a7882a3b001543ed093b303110459e3394 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Sat, 10 Dec 2011 22:47:43 -0600 Subject: [PATCH] Resolved issue with nametag bubble vanishing due to incorrect blend states. --- indra/newview/llhudnametag.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/llhudnametag.cpp b/indra/newview/llhudnametag.cpp index 265a3f098..f99bcfe15 100644 --- a/indra/newview/llhudnametag.cpp +++ b/indra/newview/llhudnametag.cpp @@ -275,6 +275,7 @@ void LLHUDNameTag::renderText(BOOL for_select) LLGLState gls_blend(GL_BLEND, for_select ? FALSE : TRUE); LLGLState gls_alpha(GL_ALPHA_TEST, for_select ? FALSE : TRUE); + gGL.setSceneBlendType(LLRender::BT_ALPHA); //Workaround avoiding inheriting stale blendstate from... something. LLColor4 shadow_color(0.f, 0.f, 0.f, 1.f); F32 alpha_factor = 1.f;