mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	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.
This commit is contained in:
		
							parent
							
								
									c97afc033f
								
							
						
					
					
						commit
						16cfb97ca2
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -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)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Hugo Locurcio
						Hugo Locurcio