Change CM attributes to not check inhereted class.

This commit is contained in:
Chandler Cox
2023-01-22 21:33:08 -06:00
parent e21c8e5fe9
commit ff3277edc7
4 changed files with 4 additions and 4 deletions

View File

@@ -250,7 +250,7 @@ namespace FlaxEditor.Windows
foreach (var actorType in Editor.CodeEditing.Actors.Get())
{
ActorToolboxAttribute attribute = null;
foreach (var e in actorType.GetAttributes(true))
foreach (var e in actorType.GetAttributes(false))
{
if (e is ActorToolboxAttribute actorToolboxAttribute)
{