summaryrefslogtreecommitdiff
path: root/indra/newview/llhudeffectlookat.cpp
diff options
context:
space:
mode:
authorruslantproductengine <ruslantproductengine@lindenlab.com>2018-06-07 18:46:03 +0300
committerruslantproductengine <ruslantproductengine@lindenlab.com>2018-06-07 18:46:03 +0300
commitb0e5bee0b41e050e14d4e315ffa967ba43f96feb (patch)
tree48a52d8e2fb8fb0982994e6c36721e141e698cda /indra/newview/llhudeffectlookat.cpp
parent40d4e8b2e6d25a625c7a5ef5dd3e94321d18ce82 (diff)
MAINT-8723 - Selecting mesh objects make several HUD-related items invisible
FIXED (from FS Ansariel patches)
Diffstat (limited to 'indra/newview/llhudeffectlookat.cpp')
-rw-r--r--indra/newview/llhudeffectlookat.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llhudeffectlookat.cpp b/indra/newview/llhudeffectlookat.cpp
index 73120a0242..f46152dcec 100644
--- a/indra/newview/llhudeffectlookat.cpp
+++ b/indra/newview/llhudeffectlookat.cpp
@@ -495,6 +495,8 @@ void LLHUDEffectLookAt::render()
{
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
+ LLGLDisable gls_stencil(GL_STENCIL_TEST);
+
LLVector3 target = mTargetPos + ((LLVOAvatar*)(LLViewerObject*)mSourceObject)->mHeadp->getWorldPosition();
gGL.matrixMode(LLRender::MM_MODELVIEW);
gGL.pushMatrix();