Extending animation editor

I’m trying to extend AnimNotify menu in animation editor. I have created menu extender and added it to Persona module, but new menu entry is not displayed.

FPersonaModule& PersonaModule = FModuleManager::LoadModuleChecked<FPersonaModule>("Persona");
TSharedPtr<FExtender> Extender = MakeShareable(new FExtender);
Extender->AddMenuExtension("AnimNotify", EExtensionHook::After, ModuleCommands, FMenuExtensionDelegate::CreateRaw(this, &FTEEditorModule::AddMenuEntry));
PersonaModule.GetMenuExtensibilityManager()->AddExtender(Extender);

275275-capture.png

After investigation I found the problem, when editor builds this context menu in SAnimNotifyTrack::SummonContextMenu it doesn’t use extenders FMenuBuilder MenuBuilder( bCloseWindowAfterMenuSelection, AnimSequenceEditorActions );. Third parameter in menu builder constructor is optional, and for this particular cotext menu it is not set.

So, the question is, is this intended and AnimNotify context menu is not supposed to be extended, or someone forgot to use extenedrs and this is a bug?

Hey,

I would suggest you to report it here : https://issues.unrealengine.com

add a github link with line / file and same content as this post.

if your diagnostic is correct, I would say it’s a mistake that never got caught, but you will probably get an epic dev answser on the issue site.

Thx, I was hoping to get some response from staff, before reporting it as bug. I’ll post it to issue tracker later.

now on answer hub, they only tell you to do bug report on the dedicated website