summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorK. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>2019-04-16 11:38:13 -0700
committerK. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>2019-04-16 11:38:13 -0700
commit48a03b514caff2d39a282ae198dcc32a8903cd17 (patch)
tree670d89bd0bc389c1914ee2956c4982ebb7afd243 /scene/3d
parentcea49f00c380c404a45d9b002843969f164d382e (diff)
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);