summaryrefslogtreecommitdiff
path: root/modules/gltf/gltf_skeleton.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-02-19 13:35:31 +0100
committerRémi Verschelde <rverschelde@gmail.com>2021-02-19 14:39:14 +0100
commit0d1d7191781b1f0e0517ba8eb3b134320de72ca8 (patch)
tree186a6e9f0cc2a86382257337ac6d88a1fe5b078c /modules/gltf/gltf_skeleton.cpp
parent04cb7e638cc8e8a0299a15b4d8d65e31fbfffaa9 (diff)
doc: Sync classref with current source
And fix various bogus bindings following previous PRs.
Diffstat (limited to 'modules/gltf/gltf_skeleton.cpp')
-rw-r--r--modules/gltf/gltf_skeleton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/gltf_skeleton.cpp b/modules/gltf/gltf_skeleton.cpp
index 739779d3bd..d6c7a25eaf 100644
--- a/modules/gltf/gltf_skeleton.cpp
+++ b/modules/gltf/gltf_skeleton.cpp
@@ -41,7 +41,7 @@ void GLTFSkeleton::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_godot_bone_node"), &GLTFSkeleton::get_godot_bone_node);
ClassDB::bind_method(D_METHOD("set_godot_bone_node", "godot_bone_node"), &GLTFSkeleton::set_godot_bone_node);
ClassDB::bind_method(D_METHOD("get_bone_attachment_count"), &GLTFSkeleton::get_bone_attachment_count);
- ClassDB::bind_method(D_METHOD("get_bone_attachment"), &GLTFSkeleton::get_bone_attachment);
+ ClassDB::bind_method(D_METHOD("get_bone_attachment", "idx"), &GLTFSkeleton::get_bone_attachment);
ADD_PROPERTY(PropertyInfo(Variant::PACKED_INT32_ARRAY, "joints"), "set_joints", "get_joints"); // Vector<GLTFNodeIndex>
ADD_PROPERTY(PropertyInfo(Variant::PACKED_INT32_ARRAY, "roots"), "set_roots", "get_roots"); // Vector<GLTFNodeIndex>