summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2025-06-27 19:23:48 -0400
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2025-06-27 19:23:48 -0400
commitef7bfa5e5260d26505bf8ae90780ee45de9216ef (patch)
tree50c9986a9f3fff2c0d9a913c418bc5aa423bfc72 /indra/newview/llvoavatar.cpp
parent26e0ae1b1f387e626d8aedc2760d75308d5fb1ba (diff)
Restore glTF mesh modifications.
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r--indra/newview/llvoavatar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index dcba891f9f..d9a3ec3004 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -6306,13 +6306,13 @@ const LLUUID& LLVOAvatar::getID() const
// getJoint()
//-----------------------------------------------------------------------------
// RN: avatar joints are multi-rooted to include screen-based attachments
-LLJoint* LLVOAvatar::getJoint(std::string_view name)
+LLJoint *LLVOAvatar::getJoint( const std::string &name )
{
joint_map_t::iterator iter = mJointMap.find(name);
- LLJoint* jointp = nullptr;
+ LLJoint* jointp = NULL;
- if (iter == mJointMap.end() || iter->second == nullptr)
+ if (iter == mJointMap.end() || iter->second == NULL)
{ //search for joint and cache found joint in lookup table
if (mJointAliasMap.empty())
{
@@ -6329,7 +6329,7 @@ LLJoint* LLVOAvatar::getJoint(std::string_view name)
canonical_name = name;
}
jointp = mRoot->findJoint(canonical_name);
- mJointMap[std::string(name)] = jointp;
+ mJointMap[name] = jointp;
}
else
{ //return cached pointer