diff options
author | Oz Linden <oz@lindenlab.com> | 2016-03-07 12:41:11 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2016-03-07 12:41:11 -0500 |
commit | 5822fb00b605d4f4ddd01e887b40d04b67e162a9 (patch) | |
tree | 0aa733a2357c99383f18ed34d2fb2ad4ad0caa24 /indra/newview/llspatialpartition.cpp | |
parent | c7ebeb842010c4a814978f63c464e1546bd6a9be (diff) | |
parent | 346ee6595d395a92a1445441467971510e6f4b6d (diff) |
merge DRTVWR-398 build cleanup fixes
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rw-r--r-- | indra/newview/llspatialpartition.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 22944493c9..b0eb4137a7 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -862,10 +862,7 @@ void LLSpatialGroup::handleDestruction(const TreeNode* node) { if (bridge->mAvatar.notNull()) { - bridge->mAvatar->mAttachmentGeometryBytes -= mGeometryBytes; - bridge->mAvatar->mAttachmentGeometryBytes = llmax(bridge->mAvatar->mAttachmentGeometryBytes, 0); - bridge->mAvatar->mAttachmentSurfaceArea -= mSurfaceArea; - bridge->mAvatar->mAttachmentSurfaceArea = llmax(bridge->mAvatar->mAttachmentSurfaceArea, 0.f); + bridge->mAvatar->subtractAttachmentArea(mSurfaceArea ); } } |