mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	Make translatable some undo/redo operations in the editor
This commit is contained in:
		
							parent
							
								
									a01dca79e2
								
							
						
					
					
						commit
						3ef8238c1c
					
				
					 17 changed files with 90 additions and 90 deletions
				
			
		|  | @ -51,7 +51,7 @@ void GradientEditor::_ramp_changed() { | |||
| 
 | ||||
| 	editing = true; | ||||
| 	UndoRedo *undo_redo = EditorNode::get_singleton()->get_undo_redo(); | ||||
| 	undo_redo->create_action("Gradient Edited"); | ||||
| 	undo_redo->create_action(TTR("Gradient Edited")); | ||||
| 	undo_redo->add_do_method(gradient.ptr(), "set_offsets", get_offsets()); | ||||
| 	undo_redo->add_do_method(gradient.ptr(), "set_colors", get_colors()); | ||||
| 	undo_redo->add_undo_method(gradient.ptr(), "set_offsets", gradient->get_offsets()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Michael Alexsander Silva Dias
						Michael Alexsander Silva Dias