diff options
| author | Rémi Verschelde | 2017-01-02 13:43:13 +0100 |
|---|---|---|
| committer | GitHub | 2017-01-02 13:43:13 +0100 |
| commit | 17bb7e1c7ea6fecabc0ef2dc454bbde0d60c5290 (patch) | |
| tree | a6ff5869fbd2b2062b05b6dfe68a8170a5662efa /scene/3d/bone_attachment.cpp | |
| parent | 7e0d0d0bb912fbb774f5890792840a1a62485773 (diff) | |
| parent | b96e2e11264cd01aceed1b6101576b3c9376d710 (diff) | |
| download | godot-17bb7e1c7ea6fecabc0ef2dc454bbde0d60c5290.tar.gz godot-17bb7e1c7ea6fecabc0ef2dc454bbde0d60c5290.tar.zst godot-17bb7e1c7ea6fecabc0ef2dc454bbde0d60c5290.zip | |
Merge pull request #7363 from Elinvention/bone_attachment
Expose set_bone_name and get_bone_name to GDscript
Diffstat (limited to '')
| -rw-r--r-- | scene/3d/bone_attachment.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/3d/bone_attachment.cpp b/scene/3d/bone_attachment.cpp index 9840b78c5..fb961c1fe 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); +} |
