summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-21 09:31:18 +0200
committerGitHub <noreply@github.com>2019-04-21 09:31:18 +0200
commit03dfac8609c01de4cfc219a5703ece2f2bb6b3f1 (patch)
tree8b97c1aa78f571297c53c71720d2d5faa11736bb /scene/3d
parentdb3dd67d47ed7d4aa8e0c652a9dfe836c568cf39 (diff)
parent48a03b514caff2d39a282ae198dcc32a8903cd17 (diff)
Merge pull request #28093 from fire/expose_localize_rest
Expose localize_rests to gdscript.
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/skeleton.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/skeleton.cpp b/scene/3d/skeleton.cpp
index dafcf95b1f..15c089ec10 100644
--- a/scene/3d/skeleton.cpp
+++ b/scene/3d/skeleton.cpp
@@ -773,6 +773,8 @@ void Skeleton::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_bone_rest", "bone_idx"), &Skeleton::get_bone_rest);
ClassDB::bind_method(D_METHOD("set_bone_rest", "bone_idx", "rest"), &Skeleton::set_bone_rest);
+ ClassDB::bind_method(D_METHOD("localize_rests"), &Skeleton::localize_rests);
+
ClassDB::bind_method(D_METHOD("set_bone_disable_rest", "bone_idx", "disable"), &Skeleton::set_bone_disable_rest);
ClassDB::bind_method(D_METHOD("is_bone_rest_disabled", "bone_idx"), &Skeleton::is_bone_rest_disabled);