From 6044e89bd985340e394f88ec6cda790401c9dca3 Mon Sep 17 00:00:00 2001 From: ruslantproductengine Date: Thu, 15 Oct 2015 20:47:54 +0300 Subject: MAINT-933 FIXED [PUBLIC]Show Land Owner color overlay only visible where there is water when rendering of Lights and Shadows is active. Patchset #2 Remove Debug code --- indra/newview/lldrawpoolterrain.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/lldrawpoolterrain.cpp b/indra/newview/lldrawpoolterrain.cpp index 4ec60d3f98..33675bd261 100755 --- a/indra/newview/lldrawpoolterrain.cpp +++ b/indra/newview/lldrawpoolterrain.cpp @@ -450,13 +450,6 @@ void LLDrawPoolTerrain::hilightParcelOwners() if (mVertexShaderLevel > 1) { //use fullbright shader for highlighting LLGLSLShader* old_shader = sShader; - - if (old_shader->mName != "Terrain Water Shader") - { - int n = 0; - n++; - } - sShader->unbind(); sShader = &gHighlightProgram; sShader->bind(); -- cgit v1.2.3