summaryrefslogtreecommitdiff
path: root/indra/newview/llvieweroctree.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-10-24 20:50:08 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-10-24 20:50:08 -0600
commitbcba6ee3a5e8c34e4686e79dcd45f19a9caa2cfb (patch)
tree3c74ebef8f0e0d66b316d0046dc9863416c38904 /indra/newview/llvieweroctree.cpp
parent371198289b2e3f5894071483968d5e0fa7a4ceeb (diff)
parentbd8f98ff3d870e17893154ba0d9ecf7396899bec (diff)
Automated merge with http://bitbucket.org/lindenlab/viewer-interesting
Diffstat (limited to 'indra/newview/llvieweroctree.cpp')
-rw-r--r--indra/newview/llvieweroctree.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llvieweroctree.cpp b/indra/newview/llvieweroctree.cpp
index ef802f2651..3646133e91 100644
--- a/indra/newview/llvieweroctree.cpp
+++ b/indra/newview/llvieweroctree.cpp
@@ -36,7 +36,7 @@
//-----------------------------------------------------------------------------------
//static variables definitions
//-----------------------------------------------------------------------------------
-U32 LLViewerOctreeEntryData::sCurVisible = 0;
+U32 LLViewerOctreeEntryData::sCurVisible = 10; //reserve the low numbers for special use.
BOOL LLViewerOctreeDebug::sInDebug = FALSE;
static LLTrace::CountStatHandle<S32> sOcclusionQueries("occlusion_queries", "Number of occlusion queries executed"),
@@ -234,7 +234,8 @@ LLViewerOctreeEntry::LLViewerOctreeEntry()
: LLTrace::MemTrackable<LLViewerOctreeEntry, 16>("LLViewerOctreeEntry"),
mGroup(NULL),
mBinRadius(0.f),
- mBinIndex(-1)
+ mBinIndex(-1),
+ mVisible(0)
{
mPositionGroup.clear();
mExtents[0].clear();