diff options
| author | Gai Clary <gaia.clary@machinimatrix.org> | 2026-04-13 23:37:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-14 00:37:08 +0300 |
| commit | 4926a066dd5c502d9d2c155a323936ea6e8cb8e0 (patch) | |
| tree | 5411a45049c02fd172e7ea7911281d50b0a6e569 /indra | |
| parent | b0f4a147aa27ea256bd042043f0211b827f7b8df (diff) | |
#5639 Initialize LLJointData support category from avatar skeleton (#5632)
The glTF importer branches on LLJointData::mSupport when it decides whether a collision volume should inherit the current rest matrix or the support-rest matrix. That value was never copied from the avatar skeleton XML into LLJointData, so the importer was effectively making that decision on uninitialized state.
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/llappearance/llavatarappearance.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llappearance/llavatarappearance.cpp b/indra/llappearance/llavatarappearance.cpp index dab18c240d..d2862a5215 100644 --- a/indra/llappearance/llavatarappearance.cpp +++ b/indra/llappearance/llavatarappearance.cpp @@ -1698,6 +1698,7 @@ void LLAvatarSkeletonInfo::getJointMatricesAndHierarhy( data.mRestMatrix = parent_mat * data.mJointMatrix; data.mIsJoint = bone_info->mIsJoint; data.mGroup = bone_info->mGroup; + data.setSupport(bone_info->mSupport); for (LLAvatarBoneInfo* child_info : bone_info->mChildren) { LLJointData& child_data = data.mChildren.emplace_back(); |
