summaryrefslogtreecommitdiff
path: root/scene/3d/bone_attachment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/bone_attachment.cpp')
-rw-r--r--scene/3d/bone_attachment.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/scene/3d/bone_attachment.cpp b/scene/3d/bone_attachment.cpp
index 56b61d40e2..c3ab2df939 100644
--- a/scene/3d/bone_attachment.cpp
+++ b/scene/3d/bone_attachment.cpp
@@ -5,7 +5,7 @@
/* GODOT ENGINE */
/* http://www.godotengine.org */
/*************************************************************************/
-/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */
+/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
@@ -137,3 +137,8 @@ BoneAttachment::BoneAttachment()
bound=false;
}
+
+void BoneAttachment::_bind_methods(){
+ ClassDB::bind_method(_MD("set_bone_name","bone_name"),&BoneAttachment::set_bone_name);
+ ClassDB::bind_method(_MD("get_bone_name"),&BoneAttachment::get_bone_name);
+}