1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Fix typos in source code using codespell

From https://github.com/lucasdemarchi/codespell
This commit is contained in:
Rémi Verschelde
2017-03-24 21:45:31 +01:00
parent c103f32ea3
commit debeee56f7
98 changed files with 180 additions and 182 deletions

View File

@@ -29,12 +29,12 @@
#include "create_dialog.h"
#include "class_db.h"
#include "editor_node.h"
#include "print_string.h"
#include "scene/gui/box_container.h"
#include "editor_help.h"
#include "editor_node.h"
#include "editor_settings.h"
#include "os/keyboard.h"
#include "print_string.h"
#include "scene/gui/box_container.h"
void CreateDialog::popup_create(bool p_dontclear) {
@@ -86,15 +86,13 @@ void CreateDialog::popup_create(bool p_dontclear) {
_update_favorite_list();
// Restore valid window bounds or pop up at default size.
if (EditorSettings::get_singleton()->has("interface/dialogs/create_new_node_bounds")) {
popup(EditorSettings::get_singleton()->get("interface/dialogs/create_new_node_bounds"));
popup(EditorSettings::get_singleton()->get("interface/dialogs/create_new_node_bounds"));
} else {
popup_centered_ratio();
}
if (p_dontclear)
search_box->select_all();
else {
@@ -213,7 +211,7 @@ void CreateDialog::_update_search() {
continue; // do not show editor nodes
if (!ClassDB::can_instance(type))
continue; // cant create what can't be instanced
continue; // can't create what can't be instanced
if (search_box->get_text() == "") {
add_type(type, types, root, &to_select);
@@ -316,7 +314,7 @@ void CreateDialog::_confirmed() {
void CreateDialog::_notification(int p_what) {
switch (p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE: {
connect("confirmed", this, "_confirmed");
favorite->set_icon(get_icon("Favorites", "EditorIcons"));