diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2018-01-12 15:34:44 +0000 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2018-01-12 15:34:44 +0000 |
commit | 500aaa16ff2aa35b318176fd01cfaba47376f5a5 (patch) | |
tree | f39c9f96b1ed5d423966a92387d7478084caee75 /indra/newview/llviewerobject.cpp | |
parent | e1cf4137938638b3232eb5a59c7544b2ec043b0b (diff) |
MAINT-8145 - reduce zoom lag by updating joint position overrides less often, no longer done in rebuildGeom()
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r-- | indra/newview/llviewerobject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index fdfc54b67e..147aa1b713 100644 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -388,7 +388,7 @@ void LLViewerObject::markDead() if (av && LLVOAvatar::getRiggedMeshID(this,mesh_id)) { // This case is needed for indirectly attached mesh objects. - av->removeAttachmentOverridesForObject(mesh_id); + av->rebuildAttachmentOverrides(); } } if (getControlAvatar()) @@ -2989,7 +2989,7 @@ void LLViewerObject::linkControlAvatar() } if (getControlAvatar()) { - getControlAvatar()->addAttachmentOverridesForObject(this); + getControlAvatar()->rebuildAttachmentOverrides(); } else { @@ -3001,7 +3001,7 @@ void LLViewerObject::unlinkControlAvatar() { if (getControlAvatar()) { - getControlAvatar()->removeAttachmentOverridesForObject(this); + getControlAvatar()->rebuildAttachmentOverrides(); } if (isRootEdit()) { |