From d302675d7eebda705550af0077affcb4a6e803b4 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Wed, 12 May 2021 12:42:48 +0200 Subject: [PATCH] Fix TypeSearchPopup showing types that base type is hidden --- Source/Editor/GUI/Popups/TypeSearchPopup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/GUI/Popups/TypeSearchPopup.cs b/Source/Editor/GUI/Popups/TypeSearchPopup.cs index f1300d299..a35b2a1c5 100644 --- a/Source/Editor/GUI/Popups/TypeSearchPopup.cs +++ b/Source/Editor/GUI/Popups/TypeSearchPopup.cs @@ -79,7 +79,7 @@ namespace FlaxEditor.GUI var type = allTypes[i]; if (_isValid(type)) { - var attributes = type.GetAttributes(false); + var attributes = type.GetAttributes(true); if (attributes.FirstOrDefault(x => x is HideInEditorAttribute) == null) { AddItem(new TypeItemView(type, attributes));