diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-09-26 15:39:22 +0100 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-09-26 15:39:22 +0100 |
commit | 2851793e670bbdff79f97534206bd3d7b4ae003d (patch) | |
tree | 037603ed02cff66fd166875b92b63edceedca5b8 /indra/newview/llvovolume.cpp | |
parent | 59e0c9be7137cfc9a6aec635acc9c0da9e854a24 (diff) |
SL-800 - also need to add attachment overrides in the complementary case
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r-- | indra/newview/llvovolume.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index e8122c0748..121fb9c11e 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -3348,6 +3348,11 @@ void LLVOVolume::setExtendedMeshFlags(U32 flags) // Making a rigged mesh into an animated object getAvatarAncestor()->removeAttachmentOverridesForObject(this); } + else + { + // Making an animated object into a rigged mesh + getAvatarAncestor()->addAttachmentOverridesForObject(this); + } } } } |