summaryrefslogtreecommitdiffstats
path: root/scene/3d/skeleton_3d.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-04-01 00:20:07 +0200
committerGitHub <noreply@github.com>2021-04-01 00:20:07 +0200
commitc2b7c69e2bb675918922aab1eb569d1a33c3371a (patch)
tree672a0405dd62315f3831f6b0c72ac0af20b3ec09 /scene/3d/skeleton_3d.h
parent36c11a5b9362a12af7a96ddcd773dadb9479b08e (diff)
parentd13568a8d1290713bbdab5a32a99e03d762cefc9 (diff)
downloadredot-engine-c2b7c69e2bb675918922aab1eb569d1a33c3371a.tar.gz
Merge pull request #42827 from lyuma/rename_bones_blendshapes
Allow renaming bones and blendshapes.
Diffstat (limited to 'scene/3d/skeleton_3d.h')
-rw-r--r--scene/3d/skeleton_3d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/skeleton_3d.h b/scene/3d/skeleton_3d.h
index 9772bfcc95..2941ac2c45 100644
--- a/scene/3d/skeleton_3d.h
+++ b/scene/3d/skeleton_3d.h
@@ -143,6 +143,7 @@ public:
void add_bone(const String &p_name);
int find_bone(const String &p_name) const;
String get_bone_name(int p_bone) const;
+ void set_bone_name(int p_bone, const String &p_name);
bool is_bone_parent_of(int p_bone_id, int p_parent_bone_id) const;