Skip to content

Commit

Permalink
Merge pull request #52317 from Calinou/2d-skeleton-editor-tweak-terms
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Sep 15, 2021
2 parents ed9fd36 + 16cfb97 commit d169087
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions editor/plugins/skeleton_2d_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ Skeleton2DEditor::Skeleton2DEditor() {
options->set_text(TTR("Skeleton2D"));
options->set_icon(EditorNode::get_singleton()->get_gui_base()->get_theme_icon(SNAME("Skeleton2D"), SNAME("EditorIcons")));

options->get_popup()->add_item(TTR("Make Rest Pose (From Bones)"), MENU_OPTION_MAKE_REST);
options->get_popup()->add_item(TTR("Reset to Rest Pose"), MENU_OPTION_MAKE_REST);
options->get_popup()->add_separator();
options->get_popup()->add_item(TTR("Set Bones to Rest Pose"), MENU_OPTION_SET_REST);
// Use the "Overwrite" word to highlight that this is a destructive operation.
options->get_popup()->add_item(TTR("Overwrite Rest Pose"), MENU_OPTION_SET_REST);
options->set_switch_on_hover(true);

options->get_popup()->connect("id_pressed", callable_mp(this, &Skeleton2DEditor::_menu_option));
Expand Down

0 comments on commit d169087

Please sign in to comment.