From 35e8c09b104336137f20b5ea0c66feb41fff8c7b Mon Sep 17 00:00:00 2001 From: Adam Scott Date: Mon, 21 Mar 2022 18:26:37 -0400 Subject: [PATCH] [Fix #58248] Add custom type check before hiding type --- editor/create_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/create_dialog.cpp b/editor/create_dialog.cpp index f9858aa5143..a3478fe6899 100644 --- a/editor/create_dialog.cpp +++ b/editor/create_dialog.cpp @@ -125,7 +125,7 @@ bool CreateDialog::_should_hide_type(const String &p_type) const { return true; // Do not show editor nodes. } - if (p_type == base_type) { + if (p_type == base_type && !EditorNode::get_editor_data().get_custom_types().has(p_type)) { return true; // Root is already added. }