diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-06-10 23:49:52 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-06-11 00:17:58 +0300 |
commit | db957313918d1716aa5087f283fd51d7fe49a357 (patch) | |
tree | c6fe17afd471edb46df8f1efe12b71f8e199516a /indra/llappearance/llavatarappearance.cpp | |
parent | fe10a83f69bb26eb581e143fb99c1250c355938b (diff) |
#4148 Skeleton Translation #3
'non joints' also need adjustments
Diffstat (limited to 'indra/llappearance/llavatarappearance.cpp')
-rw-r--r-- | indra/llappearance/llavatarappearance.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/indra/llappearance/llavatarappearance.cpp b/indra/llappearance/llavatarappearance.cpp index 34d6b4db83..a3032325c9 100644 --- a/indra/llappearance/llavatarappearance.cpp +++ b/indra/llappearance/llavatarappearance.cpp @@ -1679,12 +1679,9 @@ void LLAvatarSkeletonInfo::getJointRestMatrices( { for (LLAvatarBoneInfo* bone_info : bone_list) { - if (bone_info->mIsJoint) - { - glm::mat4 rest_mat = parent_mat * bone_info->getJointMatrix(); - result[bone_info->mName] = rest_mat; - getJointRestMatrices(bone_info->mChildren, result, rest_mat); - } + glm::mat4 rest_mat = parent_mat * bone_info->getJointMatrix(); + result[bone_info->mName] = rest_mat; + getJointRestMatrices(bone_info->mChildren, result, rest_mat); } } |