summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2018-06-04 14:43:06 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2018-06-04 14:43:06 +0100
commit228525aa27b05cc1aa8be27de4ae59f5ec590ae3 (patch)
treedde50d01034b34b0c4f15a6ed2fd13efe30eb1e8 /indra/newview/llvovolume.cpp
parente86839fac19753d0fa4006296c7f8909fe781013 (diff)
SL-915 - tracking joint is rigged state
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp15
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)
{