diff options
| author | Xiaohong Bao <bao@lindenlab.com> | 2012-12-18 14:37:16 -0700 |
|---|---|---|
| committer | Xiaohong Bao <bao@lindenlab.com> | 2012-12-18 14:37:16 -0700 |
| commit | c66c8d32c7ead6535cf6d80b7001499df83a523d (patch) | |
| tree | 43c4578ddd6d5ad27b72ffdefbb705bf73b2e588 /indra/newview/lldrawable.cpp | |
| parent | a853a8cf20729eb954c834e2f8afb03d3b079d2f (diff) | |
| parent | e1247d631f24065a31d9668915cb8bc84f3abc7f (diff) | |
Automated merge with ssh://hg.lindenlab.com/bao/bao-viewer-interesting/
Diffstat (limited to 'indra/newview/lldrawable.cpp')
| -rw-r--r-- | indra/newview/lldrawable.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp index c782fbfe7e..1b7a98ba54 100644 --- a/indra/newview/lldrawable.cpp +++ b/indra/newview/lldrawable.cpp @@ -1473,19 +1473,6 @@ void LLSpatialBridge::shiftPos(const LLVector4a& vec) void LLSpatialBridge::cleanupReferences() { - LLPointer<LLVOCacheEntry> dummy_entry; - if (mDrawable && mDrawable->isDead() && mDrawable->getEntry()->hasVOCacheEntry()) - { - //create a dummy entry to insert the entire LLSpatialBridge to the vo_cache partition so it can be reloaded. - - dummy_entry = new LLVOCacheEntry(); - dummy_entry->setOctreeEntry(mEntry); - dummy_entry->addChild((LLVOCacheEntry*)mDrawable->getEntry()->getVOCacheEntry()); - //llassert(!mDrawable->getParent()); - - //mDrawable->mParent = this; - } - LLDrawable::cleanupReferences(); if (mDrawable) { |
