summaryrefslogtreecommitdiff
path: root/indra/newview/llspatialpartition.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-11-17 14:26:34 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-11-17 14:26:34 +0000
commit84b6bce4ee9299454aca75d8f876b6582b756ff6 (patch)
treec0ac13e49f86d9e3ea9f12e9bbb5acbf139bc82d /indra/newview/llspatialpartition.cpp
parent1fd5d03847437e96fa6b5a08e08e36cb218f990f (diff)
SL-704 - attachment surface area now computed in bulk rather than updated incrementally. Same dubious formula.
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rw-r--r--indra/newview/llspatialpartition.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp
index 0fd36766b3..0db1806fd8 100644
--- a/indra/newview/llspatialpartition.cpp
+++ b/indra/newview/llspatialpartition.cpp
@@ -856,16 +856,6 @@ void LLSpatialGroup::handleDestruction(const TreeNode* node)
}
}
- //clean up avatar attachment stats
- LLSpatialBridge* bridge = getSpatialPartition()->asBridge();
- if (bridge)
- {
- if (bridge->mAvatar.notNull())
- {
- bridge->mAvatar->subtractAttachmentArea(mSurfaceArea );
- }
- }
-
clearDrawMap();
mVertexBuffer = NULL;
mBufferMap.clear();