summaryrefslogtreecommitdiffstats
path: root/scene/3d/skeleton_modifier_3d.cpp
diff options
context:
space:
mode:
authorSilc Lizard (Tokage) Renew <61938263+TokageItLab@users.noreply.github.com>2024-06-08 16:51:51 +0900
committerSilc Lizard (Tokage) Renew <61938263+TokageItLab@users.noreply.github.com>2024-06-09 23:58:05 +0900
commite92a453840e7c5ecc7bf721bbde0256f7ac3c164 (patch)
treeb9767a563ccd9fe1115769b9b439289958fc1947 /scene/3d/skeleton_modifier_3d.cpp
parent5833f597865c773fae3ee09fc4e31d4a243f812d (diff)
downloadredot-engine-e92a453840e7c5ecc7bf721bbde0256f7ac3c164.tar.gz
Expose get_skeleton() from SkeletonModifier3D
Diffstat (limited to 'scene/3d/skeleton_modifier_3d.cpp')
-rw-r--r--scene/3d/skeleton_modifier_3d.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/skeleton_modifier_3d.cpp b/scene/3d/skeleton_modifier_3d.cpp
index 8d806ef5fc..9851214194 100644
--- a/scene/3d/skeleton_modifier_3d.cpp
+++ b/scene/3d/skeleton_modifier_3d.cpp
@@ -123,6 +123,8 @@ void SkeletonModifier3D::_notification(int p_what) {
}
void SkeletonModifier3D::_bind_methods() {
+ ClassDB::bind_method(D_METHOD("get_skeleton"), &SkeletonModifier3D::get_skeleton);
+
ClassDB::bind_method(D_METHOD("set_active", "active"), &SkeletonModifier3D::set_active);
ClassDB::bind_method(D_METHOD("is_active"), &SkeletonModifier3D::is_active);