summaryrefslogtreecommitdiff
path: root/indra/newview/llmanipscale.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llmanipscale.cpp')
-rw-r--r--indra/newview/llmanipscale.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llmanipscale.cpp b/indra/newview/llmanipscale.cpp
index 56a4352e22..14da426d9a 100644
--- a/indra/newview/llmanipscale.cpp
+++ b/indra/newview/llmanipscale.cpp
@@ -584,6 +584,7 @@ void LLManipScale::renderFaces( const LLBBox& bbox )
if (mManipPart == LL_NO_PART)
{
glColor4fv( default_normal_color.mV );
+ LLGLDepthTest gls_depth(GL_FALSE);
glBegin(GL_QUADS);
{
// Face 0
@@ -746,7 +747,8 @@ void LLManipScale::renderCorners( const LLBBox& bbox )
void LLManipScale::renderBoxHandle( F32 x, F32 y, F32 z )
{
LLGLDisable gls_tex(GL_TEXTURE_2D);
-
+ LLGLDepthTest gls_depth(GL_FALSE);
+
glPushMatrix();
{
glTranslatef( x, y, z );