diff options
| author | Oz Linden <oz@lindenlab.com> | 2015-08-26 12:07:16 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2015-08-26 12:07:16 -0400 |
| commit | 712a4e70c81c1908e4e7668ff1695a9415ec4b71 (patch) | |
| tree | b5312334f90e4359dce19eb696954dbcca5f5fd6 /indra/newview/llspatialpartition.cpp | |
| parent | 206ef7a1562db19a4d8a41e55b7272c917f4b62c (diff) | |
refine fix for MAINT-5560 based on review feedback and to fix VS objection
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
| -rwxr-xr-x | indra/newview/llspatialpartition.cpp | 3 |
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 ); } } |
