summaryrefslogtreecommitdiff
path: root/editor/plugins/skeleton_3d_editor_plugin.h
diff options
context:
space:
mode:
authorSilc Renew <tokage.it.lab@gmail.com>2022-07-26 18:46:28 +0900
committerSilc Renew <tokage.it.lab@gmail.com>2022-08-18 18:41:37 +0900
commitb27fe6452d77c4e9e2a1f5400146c1b320e7fd64 (patch)
tree89870a650554ada5f258de43f8cabc6769179d81 /editor/plugins/skeleton_3d_editor_plugin.h
parent982ff7d925c61dd0b592d08cafa092e46ea6eec1 (diff)
add init bone poses
Diffstat (limited to 'editor/plugins/skeleton_3d_editor_plugin.h')
-rw-r--r--editor/plugins/skeleton_3d_editor_plugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/plugins/skeleton_3d_editor_plugin.h b/editor/plugins/skeleton_3d_editor_plugin.h
index 975b54fa77..9f610e1b7d 100644
--- a/editor/plugins/skeleton_3d_editor_plugin.h
+++ b/editor/plugins/skeleton_3d_editor_plugin.h
@@ -96,8 +96,8 @@ class Skeleton3DEditor : public VBoxContainer {
friend class Skeleton3DEditorPlugin;
enum SkeletonOption {
- SKELETON_OPTION_INIT_ALL_POSES,
- SKELETON_OPTION_INIT_SELECTED_POSES,
+ SKELETON_OPTION_RESET_ALL_POSES,
+ SKELETON_OPTION_RESET_SELECTED_POSES,
SKELETON_OPTION_ALL_POSES_TO_RESTS,
SKELETON_OPTION_SELECTED_POSES_TO_RESTS,
SKELETON_OPTION_CREATE_PHYSICAL_SKELETON,
@@ -148,7 +148,7 @@ class Skeleton3DEditor : public VBoxContainer {
void create_editors();
- void init_pose(const bool p_all_bones);
+ void reset_pose(const bool p_all_bones);
void pose_to_rest(const bool p_all_bones);
void insert_keys(const bool p_all_bones);