Tweak skeleton editor texts "Make Rest Pose" and "Set Bones to Rest Pose"

The new terms are more descriptive of each button's actual function.

(cherry picked from commit 16cfb97ca2)
This commit is contained in:
Hugo Locurcio 2021-09-01 17:49:57 +02:00 committed by Rémi Verschelde
parent 210ab11643
commit de3f454c27
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -99,9 +99,10 @@ Skeleton2DEditor::Skeleton2DEditor() {
options->set_text(TTR("Skeleton2D"));
options->set_icon(EditorNode::get_singleton()->get_gui_base()->get_icon("Skeleton2D", "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", this, "_menu_option");