summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.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/llvoavatarself.cpp
parent26e0ae1b1f387e626d8aedc2760d75308d5fb1ba (diff)
Restore glTF mesh modifications.
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rw-r--r--indra/newview/llvoavatarself.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index ebba9ba291..90ff4067f2 100644
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -697,17 +697,17 @@ void LLVOAvatarSelf::idleUpdate(LLAgent &agent, const F64 &time)
}
// virtual
-LLJoint* LLVOAvatarSelf::getJoint(std::string_view name)
+LLJoint *LLVOAvatarSelf::getJoint(const std::string &name)
{
std::lock_guard lock(mJointMapMutex);
- LLJoint* jointp = nullptr;
+ LLJoint *jointp = NULL;
jointp = LLVOAvatar::getJoint(name);
if (!jointp && mScreenp)
{
jointp = mScreenp->findJoint(name);
if (jointp)
{
- mJointMap[std::string(name)] = jointp;
+ mJointMap[name] = jointp;
}
}
if (jointp && jointp != mScreenp && jointp != mRoot)