1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Allow to create a node at specific position

This commit is contained in:
Tomasz Chabora
2020-08-25 01:32:58 +02:00
committed by kobewi
parent 8ba67b728e
commit 8df22a03c4
6 changed files with 88 additions and 2 deletions

View File

@@ -170,6 +170,7 @@ void CreateDialog::_update_search() {
root->set_text(0, base_type);
root->set_icon(0, search_options->get_theme_icon(icon_fallback, "EditorIcons"));
search_options_types[base_type] = root;
_configure_search_option_item(root, base_type, ClassDB::class_exists(base_type));
const String search_text = search_box->get_text();
bool empty_search = search_text == "";