diff options
author | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2019-04-16 11:38:13 -0700 |
---|---|---|
committer | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2019-04-16 11:38:13 -0700 |
commit | 48a03b514caff2d39a282ae198dcc32a8903cd17 (patch) | |
tree | 670d89bd0bc389c1914ee2956c4982ebb7afd243 /scene | |
parent | cea49f00c380c404a45d9b002843969f164d382e (diff) |
Expose localize_rests to gdscript.
Diffstat (limited to 'scene')
-rw-r--r-- | scene/3d/skeleton.cpp | 2 |
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); |