diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-17 13:25:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 13:25:31 +0100 |
commit | 99fc96e7b3d8540825e46ed16b97585c52c34f5d (patch) | |
tree | 232723b7314fe7d50d86106656ccd0515d29f7cb | |
parent | 1efb4ee6b3291e8b3d51af99d81932ed9359e900 (diff) | |
parent | f038dd07610c8e6a10a127e831f6fbe0b11f9d03 (diff) |
Merge pull request #45955 from angad-k/fix-set-joint-i-to-name
fix set_joint_i_to_name to use the provided argument
-rw-r--r-- | modules/gltf/gltf_skin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/gltf_skin.cpp b/modules/gltf/gltf_skin.cpp index fd39e4f45a..5a61e5778c 100644 --- a/modules/gltf/gltf_skin.cpp +++ b/modules/gltf/gltf_skin.cpp @@ -142,7 +142,7 @@ void GLTFSkin::set_joint_i_to_name(Dictionary p_joint_i_to_name) { joint_i_to_name = Map<int, StringName>(); Array keys = p_joint_i_to_name.keys(); for (int i = 0; i < keys.size(); i++) { - joint_i_to_name[keys[i]] = joint_i_to_name[keys[i]]; + joint_i_to_name[keys[i]] = p_joint_i_to_name[keys[i]]; } } |