From e75bad41f777502b2fc05c9a8ccbb3f86c98b891 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 21 Jul 2016 10:16:30 -0300 Subject: Hide editor types from create node dialog, closes #3263 --- tools/editor/create_dialog.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/editor/create_dialog.cpp b/tools/editor/create_dialog.cpp index 07d1566ab8..3ab2e35242 100644 --- a/tools/editor/create_dialog.cpp +++ b/tools/editor/create_dialog.cpp @@ -164,8 +164,11 @@ void CreateDialog::_update_search() { for(;I;I=I->next()) { + String type=I->get(); + if (base_type=="Node" && type.begins_with("Editor")) + continue; // do not show editor nodes if (!ObjectTypeDB::can_instance(type)) continue; // cant create what can't be instanced -- cgit v1.2.3