summaryrefslogtreecommitdiff
path: root/indra/newview/llspatialpartition.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-10-04 20:12:51 -0400
committerOz Linden <oz@lindenlab.com>2012-10-04 20:12:51 -0400
commit07899b2820599600fac889355c1742c81d69d051 (patch)
treed6166632b77cf4428cbfbf0016c15a85ff87e515 /indra/newview/llspatialpartition.h
parent7fe8e87d19f4940d9b682faa7e189d1b1ac18785 (diff)
parenta5e28651f539ff0f9bb9a678538d70b5fa9f97ba (diff)
merge changes for DRTVWR-222
Diffstat (limited to 'indra/newview/llspatialpartition.h')
-rw-r--r--indra/newview/llspatialpartition.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llspatialpartition.h b/indra/newview/llspatialpartition.h
index 7968c28900..d3cda2ff6a 100644
--- a/indra/newview/llspatialpartition.h
+++ b/indra/newview/llspatialpartition.h
@@ -346,6 +346,8 @@ public:
void dirtyGeom() { setState(GEOM_DIRTY); }
void dirtyMesh() { setState(MESH_DIRTY); }
element_list& getData() { return mOctreeNode->getData(); }
+ bool hasElement(LLDrawable* drawablep) { return mOctreeNode->getData().find(drawablep) != mOctreeNode->getData().end(); }
+
U32 getElementCount() const { return mOctreeNode->getElementCount(); }
void drawObjectBox(LLColor4 col);