From 03cd86b4d7c1aad74cb05444d7ca3a10eddeed04 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Perrier Date: Tue, 11 May 2021 16:16:37 +0200 Subject: [PATCH] Fix. --- Source/Editor/CustomEditors/Editors/GenericEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/CustomEditors/Editors/GenericEditor.cs b/Source/Editor/CustomEditors/Editors/GenericEditor.cs index 374684375..d4079ad79 100644 --- a/Source/Editor/CustomEditors/Editors/GenericEditor.cs +++ b/Source/Editor/CustomEditors/Editors/GenericEditor.cs @@ -266,7 +266,7 @@ namespace FlaxEditor.CustomEditors.Editors continue; // Skip hidden fields, handle special attributes - if ((!p.IsPublic && !showInEditor) || showInEditor) + if ((!p.IsPublic && !showInEditor) || attributes.Any(x => x is HideInEditorAttribute)) continue; items.Add(new ItemInfo(p, attributes));