You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fix various typos
* Add TODO notes for typos that should be fixed for 5.0 Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
@@ -216,7 +216,7 @@ void AtlasMergingDialog::_merge_confirmed(const String &p_path) {
|
||||
}
|
||||
}
|
||||
undo_redo->commit_action();
|
||||
commited_actions_count++;
|
||||
committed_actions_count++;
|
||||
|
||||
hide();
|
||||
}
|
||||
@@ -228,10 +228,10 @@ void AtlasMergingDialog::ok_pressed() {
|
||||
|
||||
void AtlasMergingDialog::cancel_pressed() {
|
||||
EditorUndoRedoManager *undo_redo = EditorUndoRedoManager::get_singleton();
|
||||
for (int i = 0; i < commited_actions_count; i++) {
|
||||
for (int i = 0; i < committed_actions_count; i++) {
|
||||
undo_redo->undo();
|
||||
}
|
||||
commited_actions_count = 0;
|
||||
committed_actions_count = 0;
|
||||
}
|
||||
|
||||
void AtlasMergingDialog::custom_action(const String &p_action) {
|
||||
@@ -289,7 +289,7 @@ void AtlasMergingDialog::update_tile_set(Ref<TileSet> p_tile_set) {
|
||||
get_ok_button()->set_disabled(true);
|
||||
merge_button->set_disabled(true);
|
||||
|
||||
commited_actions_count = 0;
|
||||
committed_actions_count = 0;
|
||||
}
|
||||
|
||||
AtlasMergingDialog::AtlasMergingDialog() {
|
||||
|
||||
Reference in New Issue
Block a user