summaryrefslogtreecommitdiff
path: root/scene/3d/bone_attachment.cpp
diff options
context:
space:
mode:
authorElia Argentieri <elia.argentieri@openmailbox.org>2016-12-24 15:27:08 +0100
committerElia Argentieri <elia.argentieri@openmailbox.org>2016-12-24 15:27:08 +0100
commitb96e2e11264cd01aceed1b6101576b3c9376d710 (patch)
tree8efec9bdb46185aabc5fccb14a4a0ce451616025 /scene/3d/bone_attachment.cpp
parentc798ff15510997fdbe6848687804f5e2cb17eefb (diff)
Expose set_bone_name and get_bone_name to GDscript
Diffstat (limited to 'scene/3d/bone_attachment.cpp')
-rw-r--r--scene/3d/bone_attachment.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/3d/bone_attachment.cpp b/scene/3d/bone_attachment.cpp
index 56b61d40e2..7c0efb8ffc 100644
--- a/scene/3d/bone_attachment.cpp
+++ b/scene/3d/bone_attachment.cpp
@@ -137,3 +137,8 @@ BoneAttachment::BoneAttachment()
bound=false;
}
+
+void BoneAttachment::_bind_methods(){
+ ObjectTypeDB::bind_method(_MD("set_bone_name","bone_name"),&BoneAttachment::set_bone_name);
+ ObjectTypeDB::bind_method(_MD("get_bone_name"),&BoneAttachment::get_bone_name);
+}