summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerparceloverlay.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-11-30 14:42:34 -0800
committerJames Cook <james@lindenlab.com>2009-11-30 14:42:34 -0800
commitd83f934ec87e594b7e88267bdd1be938a73f090d (patch)
tree2fc1bc60f960e3139f3da799b7d93c9a08f8e7c6 /indra/newview/llviewerparceloverlay.cpp
parent1ec8ca378814b7f493f5f6e55fb505b5c884a995 (diff)
parent7d3b3cc474822db144b623980d08b7addc2f77ff (diff)
merge
Diffstat (limited to 'indra/newview/llviewerparceloverlay.cpp')
-rw-r--r--indra/newview/llviewerparceloverlay.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewerparceloverlay.cpp b/indra/newview/llviewerparceloverlay.cpp
index 9896adad97..9de1ef7190 100644
--- a/indra/newview/llviewerparceloverlay.cpp
+++ b/indra/newview/llviewerparceloverlay.cpp
@@ -808,6 +808,7 @@ S32 LLViewerParcelOverlay::renderPropertyLines ()
S32 drawn = 0;
F32* vertexp;
U8* colorp;
+ bool render_hidden = LLSelectMgr::sRenderHiddenSelections && LLFloaterReg::instanceVisible("build");
const F32 PROPERTY_LINE_CLIP_DIST = 256.f;
@@ -849,7 +850,7 @@ S32 LLViewerParcelOverlay::renderPropertyLines ()
gGL.end();
- if (LLSelectMgr::sRenderHiddenSelections && LLFloaterReg::instanceVisible("build"))
+ if (render_hidden)
{
LLGLDepthTest depth(GL_TRUE, GL_FALSE, GL_GREATER);