diff options
Diffstat (limited to 'linden/indra/newview/llmanipscale.cpp')
-rw-r--r-- | linden/indra/newview/llmanipscale.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llmanipscale.cpp b/linden/indra/newview/llmanipscale.cpp index c153339..648be34 100644 --- a/linden/indra/newview/llmanipscale.cpp +++ b/linden/indra/newview/llmanipscale.cpp | |||
@@ -604,6 +604,7 @@ void LLManipScale::renderFaces( const LLBBox& bbox ) | |||
604 | if (mManipPart == LL_NO_PART) | 604 | if (mManipPart == LL_NO_PART) |
605 | { | 605 | { |
606 | glColor4fv( default_normal_color.mV ); | 606 | glColor4fv( default_normal_color.mV ); |
607 | LLGLDepthTest gls_depth(GL_FALSE); | ||
607 | glBegin(GL_QUADS); | 608 | glBegin(GL_QUADS); |
608 | { | 609 | { |
609 | // Face 0 | 610 | // Face 0 |
@@ -766,7 +767,8 @@ void LLManipScale::renderCorners( const LLBBox& bbox ) | |||
766 | void LLManipScale::renderBoxHandle( F32 x, F32 y, F32 z ) | 767 | void LLManipScale::renderBoxHandle( F32 x, F32 y, F32 z ) |
767 | { | 768 | { |
768 | LLGLDisable gls_tex(GL_TEXTURE_2D); | 769 | LLGLDisable gls_tex(GL_TEXTURE_2D); |
769 | 770 | LLGLDepthTest gls_depth(GL_FALSE); | |
771 | |||
770 | glPushMatrix(); | 772 | glPushMatrix(); |
771 | { | 773 | { |
772 | glTranslatef( x, y, z ); | 774 | glTranslatef( x, y, z ); |