diff options
author | Angad Kambli <angadkambli@gmail.com> | 2021-02-13 01:24:43 +0530 |
---|---|---|
committer | Angad Kambli <angadkambli@gmail.com> | 2021-02-17 13:08:35 +0100 |
commit | f038dd07610c8e6a10a127e831f6fbe0b11f9d03 (patch) | |
tree | 4d693a0ae1781bfb3e50a3dd4b741cadf688d810 | |
parent | e9a25b8552150393db9632fff23c0f60403b987a (diff) |
glTF: Fix set_joint_i_to_name not using its argument
Fixes #45371.
-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]]; } } |