Fix TypeSearchPopup showing types that base type is hidden

This commit is contained in:
Wojtek Figat
2021-05-12 12:42:48 +02:00
parent 9195e37a23
commit d302675d7e

View File

@@ -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));