diff options
Diffstat (limited to 'indra/newview/llvocache.h')
-rwxr-xr-x | indra/newview/llvocache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llvocache.h b/indra/newview/llvocache.h index 7396de4709..082f5f0b1d 100755 --- a/indra/newview/llvocache.h +++ b/indra/newview/llvocache.h @@ -113,11 +113,13 @@ public: /*virtual*/ void setOctreeEntry(LLViewerOctreeEntry* entry); - void setParentID(U32 id) {mParentID = id;} + void setParentID(U32 id); U32 getParentID() const {return mParentID;} + bool isChild() const {return mParentID > 0;} void addChild(LLVOCacheEntry* entry); void removeChild(LLVOCacheEntry* entry); + void removeAllChildren(); LLVOCacheEntry* getChild(); //remove the first child, and return it. S32 getNumOfChildren() const {return mChildrenList.size();} |