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/llvovolume.cpp | |
parent | 206ef7a1562db19a4d8a41e55b7272c917f4b62c (diff) |
refine fix for MAINT-5560 based on review feedback and to fix VS objection
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rwxr-xr-x | indra/newview/llvovolume.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 160e2fbdb3..44ba09c171 100755 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -4703,8 +4703,7 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group) if (pAvatarVO) { - pAvatarVO->modifyAttachmentGeometryBytes( -group->mGeometryBytes ); - pAvatarVO->modifyAttachmentSurfaceArea( -group->mSurfaceArea ); + pAvatarVO->subtractAttachmentSizes( group->mGeometryBytes, group->mSurfaceArea ); } group->mGeometryBytes = 0; @@ -5258,8 +5257,7 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group) if (pAvatarVO) { - pAvatarVO->modifyAttachmentGeometryBytes( group->mGeometryBytes ); - pAvatarVO->modifyAttachmentSurfaceArea( group->mSurfaceArea ); + pAvatarVO->addAttachmentSizes( group->mGeometryBytes, group->mSurfaceArea ); } } |