MAINT-8723 - Selecting mesh objects make several HUD-related items invisible
FIXED (from FS Ansariel patches)master
parent
40d4e8b2e6
commit
b0e5bee0b4
|
|
@ -220,6 +220,7 @@ Ansariel Hiller
|
|||
STORM-2151
|
||||
MAINT-6917
|
||||
MAINT-8085
|
||||
MAINT-8723
|
||||
Aralara Rajal
|
||||
Arare Chantilly
|
||||
CHUIBUG-191
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -322,6 +322,7 @@ void LLHUDEffectPointAt::render()
|
|||
update();
|
||||
if (sDebugPointAt && mTargetType != POINTAT_TARGET_NONE)
|
||||
{
|
||||
LLGLDisable gls_stencil(GL_STENCIL_TEST);
|
||||
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
|
||||
|
||||
LLVector3 target = mTargetPos + mSourceObject->getRenderPosition();
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ void LLHUDIcon::renderIcon(BOOL for_select)
|
|||
{
|
||||
LLGLSUIDefault texture_state;
|
||||
LLGLDepthTest gls_depth(GL_TRUE);
|
||||
LLGLDisable gls_stencil(GL_STENCIL_TEST);
|
||||
if (for_select)
|
||||
{
|
||||
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
|
||||
|
|
|
|||
|
|
@ -224,6 +224,7 @@ void LLHUDNameTag::render()
|
|||
if (sDisplayText)
|
||||
{
|
||||
LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE);
|
||||
LLGLDisable gls_stencil(GL_STENCIL_TEST);
|
||||
renderText(FALSE);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@ void LLHUDText::render()
|
|||
if (!mOnHUDAttachment && sDisplayText)
|
||||
{
|
||||
LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE);
|
||||
LLGLDisable gls_stencil(GL_STENCIL_TEST);
|
||||
renderText();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -356,6 +356,7 @@ void LLVoiceVisualizer::render()
|
|||
//---------------------------------------------------------------
|
||||
LLGLSPipelineAlpha alpha_blend;
|
||||
LLGLDepthTest depth(GL_TRUE, GL_FALSE);
|
||||
LLGLDisable gls_stencil(GL_STENCIL_TEST);
|
||||
|
||||
//-------------------------------------------------------------
|
||||
// create coordinates of the geometry for the dot
|
||||
|
|
|
|||
Loading…
Reference in New Issue