summaryrefslogtreecommitdiffstats
path: root/scene
diff options
context:
space:
mode:
authorK. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>2022-01-14 03:16:33 -0800
committerK. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>2022-01-14 03:20:24 -0800
commitc5528af71c6fe4828aa6f3f972fba38572956328 (patch)
tree8d943e4b4b60d2b98af8544c59eaf242259f13aa /scene
parentdcd2364dacc6c0af2e949ca34dd6e7f6e75e7d5c (diff)
downloadredot-engine-c5528af71c6fe4828aa6f3f972fba38572956328.tar.gz
Expose add_named_bind for all essential skin bindings.
Diffstat (limited to 'scene')
-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);