diff options
| author | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2022-01-14 03:16:33 -0800 |
|---|---|---|
| committer | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2022-01-14 03:20:24 -0800 |
| commit | c5528af71c6fe4828aa6f3f972fba38572956328 (patch) | |
| tree | 8d943e4b4b60d2b98af8544c59eaf242259f13aa /scene | |
| parent | dcd2364dacc6c0af2e949ca34dd6e7f6e75e7d5c (diff) | |
| download | redot-engine-c5528af71c6fe4828aa6f3f972fba38572956328.tar.gz | |
Expose add_named_bind for all essential skin bindings.
Diffstat (limited to 'scene')
| -rw-r--r-- | scene/resources/skin.cpp | 1 |
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); |
