summaryrefslogtreecommitdiff
path: root/indra/newview/llspatialpartition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rwxr-xr-xindra/newview/llspatialpartition.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp
index 11b619ba00..da3f344e00 100755
--- a/indra/newview/llspatialpartition.cpp
+++ b/indra/newview/llspatialpartition.cpp
@@ -862,8 +862,7 @@ void LLSpatialGroup::handleDestruction(const TreeNode* node)
{
if (bridge->mAvatar.notNull())
{
- bridge->mAvatar->modifyAttachmentGeometryBytes( -mGeometryBytes );
- bridge->mAvatar->modifyAttachmentSurfaceArea( -mSurfaceArea );
+ bridge->mAvatar->subtractAttachmentSizes( mGeometryBytes, mSurfaceArea );
}
}