From 712a4e70c81c1908e4e7668ff1695a9415ec4b71 Mon Sep 17 00:00:00 2001 From: Oz Linden Date: Wed, 26 Aug 2015 12:07:16 -0400 Subject: refine fix for MAINT-5560 based on review feedback and to fix VS objection --- indra/newview/llspatialpartition.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'indra/newview/llspatialpartition.cpp') 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 ); } } -- cgit v1.2.3