summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-03-08 11:14:03 -0700
committerXiaohong Bao <bao@lindenlab.com>2013-03-08 11:14:03 -0700
commit81edcde603b82233662d13d58f8b0c7955b5a7e1 (patch)
tree639ef47d3ef62e21839bec5f84fdfed3ec946ba5 /indra
parent50b32cf2bdb93fad14770aa0f6b92fb3815ebdf0 (diff)
remove some redundant code for SH-3937: interesting: implement the new cache probe logic
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewerobjectlist.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp
index 4c959447c6..6202a7b6cc 100644
--- a/indra/newview/llviewerobjectlist.cpp
+++ b/indra/newview/llviewerobjectlist.cpp
@@ -2089,15 +2089,6 @@ S32 LLViewerObjectList::findReferences(LLDrawable *drawablep) const
void LLViewerObjectList::orphanize(LLViewerObject *childp, U32 parent_id, U32 ip, U32 port)
{
- if(childp->getRegion())
- {
- LLVOCacheEntry* entry = childp->getRegion()->getCacheEntry(childp->getLocalID());
- if(entry != NULL && !entry->isTouched())
- {
- return; //object cache will take care of this.
- }
- }
-
#ifdef ORPHAN_SPAM
llinfos << "Orphaning object " << childp->getID() << " with parent " << parent_id << llendl;
#endif