diff options
| author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2025-06-27 21:26:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-27 21:26:55 -0400 |
| commit | f48fe44684a535ed2eefc64c134551ce72e9ecf4 (patch) | |
| tree | 601bfe8f31052620321811582244d12a29d6d7a1 /indra/llcharacter/llcharacter.cpp | |
| parent | 2fdca60e61543309d43f5fa99ba2b40f209aec20 (diff) | |
| parent | a50a0e1277386de3456f478127f774fa01cdb578 (diff) | |
Merge pull request #4306 from secondlife/geenz/develop-to-gltf-mesh
Merge develop into glTF mesh import
Diffstat (limited to 'indra/llcharacter/llcharacter.cpp')
| -rw-r--r-- | indra/llcharacter/llcharacter.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/llcharacter/llcharacter.cpp b/indra/llcharacter/llcharacter.cpp index 8efcd9dd29..ecbcdb3bf5 100644 --- a/indra/llcharacter/llcharacter.cpp +++ b/indra/llcharacter/llcharacter.cpp @@ -77,11 +77,12 @@ LLCharacter::~LLCharacter() //----------------------------------------------------------------------------- // getJoint() //----------------------------------------------------------------------------- -LLJoint* LLCharacter::getJoint(std::string_view name) +LLJoint *LLCharacter::getJoint( const std::string &name ) { - LLJoint* joint = nullptr; + LLJoint* joint = NULL; - if (LLJoint* root = getRootJoint()) + LLJoint *root = getRootJoint(); + if (root) { joint = root->findJoint(name); } |
