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

Unreal: Dynamic menu created in Python #401

Merged
merged 1 commit 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

  • added show_tools_dialog and show_tools_popup using tools_ui from openpype's unreal
Depends on
openpype ynput/OpenPype#2422
unreal-plugin ynput/avalon-unreal-integration#3

@mkolar
Copy link
Member

mkolar commented Dec 17, 2021

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

@antirotor antirotor merged commit ffe9e91 into main Dec 22, 2021
@antirotor antirotor deleted the feature/OP-2091_Unreal-Dynamic-menu-in-host branch December 22, 2021 12:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants