From fb9ff92c290b16a955d6a911ba462b48aae00cf6 Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Wed, 6 Nov 2019 13:10:25 +0100 Subject: Node create dialog filtering optimization Avoid loading the same scripts again and parse them when updating the node type tree. --- editor/create_dialog.h | 1 + 1 file changed, 1 insertion(+) (limited to 'editor/create_dialog.h') diff --git a/editor/create_dialog.h b/editor/create_dialog.h index f3ed1d7af6..1150ac60da 100644 --- a/editor/create_dialog.h +++ b/editor/create_dialog.h @@ -51,6 +51,7 @@ class CreateDialog : public ConfirmationDialog { LineEdit *search_box; Tree *search_options; HashMap search_options_types; + HashMap search_loaded_scripts; bool is_replace_mode; String base_type; String preferred_search_result_type; -- cgit v1.2.3