From da68d3a57ecb27eba5d7efb8ff77d9640c0be65e Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:44:57 -0500 Subject: Second Life viewer sources 1.16.0.5 --- linden/indra/newview/llmanipscale.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linden/indra/newview/llmanipscale.cpp') 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 ) if (mManipPart == LL_NO_PART) { glColor4fv( default_normal_color.mV ); + LLGLDepthTest gls_depth(GL_FALSE); glBegin(GL_QUADS); { // Face 0 @@ -766,7 +767,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 ); -- cgit v1.1