Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix source control menu extension to work with UE5 #15

Merged
merged 3 commits into from
Apr 6, 2022
Merged

Fix source control menu extension to work with UE5 #15

merged 3 commits into from
Apr 6, 2022

Conversation

SRombautsU
Copy link

The old FLevelEditorMenuExtender is not used anymore by the Engine, so trying to use it does nothing.

The official multi-user editing plugin "Concert" had to switch to the "ToolMenus" package,
so I borrowed the new method they switched to and adapted the source code.

PlatformFilemanager.h was renamed PlatformFileManager
@SRombautsU SRombautsU self-assigned this Apr 4, 2022
@SRombautsU SRombautsU changed the title Fix source control menu extender to work with UE5 Fix source control menu extension to work with UE5 Apr 4, 2022
The old FLevelEditorMenuExtender is not used anymore by the Editor, so calling it does nothing.

The official multi-user editing plugin "Concert" had to switch to the "ToolMenus" package,
so I borrowed the new method they switched to and adapted the source code.

edit: added the missing call to Unnregister(). I had to make it robust to double calls, happening when closing the Editor.

Also removed an old unused "PlasticSourceControlMenu" FName variable
@SRombautsU SRombautsU merged commit 75010fe into PlasticSCM:master Apr 6, 2022
@SRombautsU SRombautsU deleted the fix-ue5-source-control-menu-extender branch April 6, 2022 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants