summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-14 14:24:16 +0100
committerGitHub <noreply@github.com>2022-01-14 14:24:16 +0100
commitf60c81af11357dd8f27deee55be109558aadda65 (patch)
tree4b355d8b2a4eb98d4ff80dd8382e12c291dc4952 /scene/resources
parent77280218e43ef65a551ba7aa9088b3829864d8ff (diff)
parentc5528af71c6fe4828aa6f3f972fba38572956328 (diff)
Merge pull request #56784 from V-Sekai/expose-add-named-bind
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/skin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/skin.cpp b/scene/resources/skin.cpp
index d371598cc0..54ed71999c 100644
--- a/scene/resources/skin.cpp
+++ b/scene/resources/skin.cpp
@@ -143,6 +143,7 @@ void Skin::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_bind_count"), &Skin::get_bind_count);
ClassDB::bind_method(D_METHOD("add_bind", "bone", "pose"), &Skin::add_bind);
+ ClassDB::bind_method(D_METHOD("add_named_bind", "name", "pose"), &Skin::add_named_bind);
ClassDB::bind_method(D_METHOD("set_bind_pose", "bind_index", "pose"), &Skin::set_bind_pose);
ClassDB::bind_method(D_METHOD("get_bind_pose", "bind_index"), &Skin::get_bind_pose);