diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2018-06-04 14:43:06 +0100 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2018-06-04 14:43:06 +0100 |
commit | 228525aa27b05cc1aa8be27de4ae59f5ec590ae3 (patch) | |
tree | dde50d01034b34b0c4f15a6ed2fd13efe30eb1e8 /indra/newview/llvovolume.cpp | |
parent | e86839fac19753d0fa4006296c7f8909fe781013 (diff) |
SL-915 - tracking joint is rigged state
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r-- | indra/newview/llvovolume.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index b60ff6d280..321ea22ff9 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -3565,6 +3565,21 @@ void LLVOVolume::afterReparent() } //---------------------------------------------------------------------------- +void LLVOVolume::updateRiggingInfo() +{ + if (isRiggedMesh()) + { + const LLMeshSkinInfo* skin = getSkinInfo(); + LLVOAvatar *avatar = getAvatar(); + if (skin && avatar) + { + LLSkinningUtil::initIsRiggedTo(skin, avatar, mJointRiggingInfoTab); + } + // AXON add bbox processing from volume faces. + } +} + +//---------------------------------------------------------------------------- void LLVOVolume::generateSilhouette(LLSelectNode* nodep, const LLVector3& view_point) { |