diff options
Diffstat (limited to 'linden/indra/newview/llspatialpartition.h')
-rw-r--r-- | linden/indra/newview/llspatialpartition.h | 5 |
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; |
128 | public: | 128 | public: |
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 | |||
432 | private: | 435 | private: |
433 | U32 mVisibleGroupsSize; | 436 | U32 mVisibleGroupsSize; |
434 | U32 mAlphaGroupsSize; | 437 | U32 mAlphaGroupsSize; |