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

@@ -253,7 +253,7 @@ namespace FlaxEditor.Windows.Assets
if (actorType.IsAbstract)
continue;
ActorContextMenuAttribute attribute = null;
foreach (var e in actorType.GetAttributes(true))
foreach (var e in actorType.GetAttributes(false))
{
if (e is ActorContextMenuAttribute actorContextMenuAttribute)
{