Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Unreal: Dynamic menu created in Python #2422

Merged
merged 3 commits into from
Dec 22, 2021

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Dec 17, 2021

Brief description

Menu items are not defined by unreal plugin which may be complicated as plugin is compiled on project reation and then is not updated.

Description

It is better to create menu dynamically in python and menu in Unreal will have only 2 action callbacks.

  • one will show tools in a dialog which will stay until user close it
  • second will show tools in popup which will close on loose of focus

Changes

  • implemented the dialog and popup in openpype unreal implementation

Screenshots

Menu
image
Popup
image
Dialog
image

Depends on
avalon-core ynput/avalon-core#401
unreal-plugin ynput/avalon-unreal-integration#3

Resolves #2370

@mkolar
Copy link
Member

mkolar commented Dec 17, 2021

Task linked: OP-2091 Unreal: Dynamic menu in host

@iLLiCiTiT iLLiCiTiT self-assigned this Dec 17, 2021
@iLLiCiTiT iLLiCiTiT added type: enhancement Enhancements to existing functionality host: UE labels Dec 17, 2021
@iLLiCiTiT iLLiCiTiT merged commit 43b86ef into develop Dec 22, 2021
@iLLiCiTiT iLLiCiTiT deleted the feature/OP-2091_Unreal-Dynamic-menu-in-host branch January 5, 2022 15:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: UE type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unreal: Dynamic menu in host
3 participants