diff options
author | Ruslan Teliuk <ruslantproductengine@lindenlab.com> | 2018-05-14 12:43:58 +0000 |
---|---|---|
committer | Ruslan Teliuk <ruslantproductengine@lindenlab.com> | 2018-05-14 12:43:58 +0000 |
commit | 151df9b87b409283d11de7d3b918fd23f9772354 (patch) | |
tree | eefa8519beb62cd019451f3d36b769eb9cdfbecd /indra/newview | |
parent | 395ce043c785cac9e933d76bf94ca6359285ebf7 (diff) | |
parent | 9d9ca82ac9330020a3743d26637bc7238e631e88 (diff) |
Merged in ruslantproductengine/viewer-cougar-4cr-2 (pull request #10)
MAINT-8348 [LOVE ME RENDER] Edit Rotation Rings Occluded by Mesh Objects
Approved-by: Andrey Lihatskiy <andreylproductengine@lindenlab.com>
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llmaniprotate.cpp | 1 | ||||
-rw-r--r-- | indra/newview/llmanipscale.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llmaniprotate.cpp b/indra/newview/llmaniprotate.cpp index 7bd5e4cba2..f158aae3d2 100644 --- a/indra/newview/llmaniprotate.cpp +++ b/indra/newview/llmaniprotate.cpp @@ -283,6 +283,7 @@ void LLManipRotate::render() LLGLEnable cull_face(GL_CULL_FACE); LLGLEnable clip_plane0(GL_CLIP_PLANE0); LLGLDepthTest gls_depth(GL_FALSE); + LLGLDisable gls_stencil(GL_STENCIL_TEST); // First pass: centers. Second pass: sides. for( S32 i=0; i<2; i++ ) diff --git a/indra/newview/llmanipscale.cpp b/indra/newview/llmanipscale.cpp index 8b2ac4f303..9a8222d941 100644 --- a/indra/newview/llmanipscale.cpp +++ b/indra/newview/llmanipscale.cpp @@ -754,6 +754,7 @@ void LLManipScale::renderBoxHandle( F32 x, F32 y, F32 z ) { gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); LLGLDepthTest gls_depth(GL_FALSE); + LLGLDisable gls_stencil(GL_STENCIL_TEST); gGL.pushMatrix(); { |