aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llspatialpartition.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:54 -0500
committerJacek Antonelli2008-08-15 23:45:54 -0500
commitd0b03a62fd799317d5da0bd56615739ce3b5b052 (patch)
tree8bc79bbbb52e18294f62810d9fa66ce136f90e2d /linden/indra/newview/llspatialpartition.h
parentSecond Life viewer sources 1.20.8 (diff)
downloadmeta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.zip
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.gz
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.bz2
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.xz
Second Life viewer sources 1.20.9
Diffstat (limited to 'linden/indra/newview/llspatialpartition.h')
-rw-r--r--linden/indra/newview/llspatialpartition.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/newview/llspatialpartition.h b/linden/indra/newview/llspatialpartition.h
index a38e3fe..bbd4add 100644
--- a/linden/indra/newview/llspatialpartition.h
+++ b/linden/indra/newview/llspatialpartition.h
@@ -127,6 +127,7 @@ class LLSpatialGroup : public LLOctreeListener<LLDrawable>
127 friend class LLSpatialPartition; 127 friend class LLSpatialPartition;
128public: 128public:
129 static U32 sNodeCount; 129 static U32 sNodeCount;
130 static BOOL sNoDelete; //deletion of spatial groups and draw info not allowed if TRUE
130 131
131 typedef std::vector<LLPointer<LLSpatialGroup> > sg_vector_t; 132 typedef std::vector<LLPointer<LLSpatialGroup> > sg_vector_t;
132 typedef std::set<LLPointer<LLSpatialGroup> > sg_set_t; 133 typedef std::set<LLPointer<LLSpatialGroup> > sg_set_t;
@@ -421,7 +422,7 @@ public:
421 void pushDrawable(LLDrawable* drawable); 422 void pushDrawable(LLDrawable* drawable);
422 void pushBridge(LLSpatialBridge* bridge); 423 void pushBridge(LLSpatialBridge* bridge);
423 void pushDrawInfo(U32 type, LLDrawInfo* draw_info); 424 void pushDrawInfo(U32 type, LLDrawInfo* draw_info);
424 425
425 U32 getVisibleGroupsSize() { return mVisibleGroupsSize; } 426 U32 getVisibleGroupsSize() { return mVisibleGroupsSize; }
426 U32 getAlphaGroupsSize() { return mAlphaGroupsSize; } 427 U32 getAlphaGroupsSize() { return mAlphaGroupsSize; }
427 U32 getDrawableGroupsSize() { return mDrawableGroupsSize; } 428 U32 getDrawableGroupsSize() { return mDrawableGroupsSize; }
@@ -429,6 +430,8 @@ public:
429 U32 getVisibleBridgeSize() { return mVisibleBridgeSize; } 430 U32 getVisibleBridgeSize() { return mVisibleBridgeSize; }
430 U32 getRenderMapSize(U32 type) { return mRenderMapSize[type]; } 431 U32 getRenderMapSize(U32 type) { return mRenderMapSize[type]; }
431 432
433 void assertDrawMapsEmpty();
434
432private: 435private:
433 U32 mVisibleGroupsSize; 436 U32 mVisibleGroupsSize;
434 U32 mAlphaGroupsSize; 437 U32 mAlphaGroupsSize;