mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
flame: add ui to project media panel
This commit is contained in:
parent
3943d74f3e
commit
c622eb7a59
3 changed files with 17 additions and 4 deletions
|
|
@ -52,7 +52,7 @@ from .pipeline import (
|
|||
from .menu import (
|
||||
FlameMenuProjectConnect,
|
||||
FlameMenuTimeline,
|
||||
FlameMenuBatch
|
||||
FlameMenuUniversal
|
||||
)
|
||||
from .plugin import (
|
||||
Creator,
|
||||
|
|
@ -132,7 +132,7 @@ __all__ = [
|
|||
# menu
|
||||
"FlameMenuProjectConnect",
|
||||
"FlameMenuTimeline",
|
||||
"FlameMenuBatch",
|
||||
"FlameMenuUniversal",
|
||||
|
||||
# plugin
|
||||
"Creator",
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ class FlameMenuTimeline(_FlameMenuApp):
|
|||
self.log.info('Rescan Python Hooks')
|
||||
|
||||
|
||||
class FlameMenuBatch(_FlameMenuApp):
|
||||
class FlameMenuUniversal(_FlameMenuApp):
|
||||
|
||||
# flameMenuProjectconnect app takes care of the preferences dialog as well
|
||||
|
||||
|
|
|
|||
|
|
@ -194,6 +194,7 @@ def get_timeline_custom_ui_actions():
|
|||
|
||||
return _build_app_menu("FlameMenuTimeline")
|
||||
|
||||
|
||||
def get_batch_custom_ui_actions():
|
||||
"""Hook to create submenu in batch
|
||||
|
||||
|
|
@ -203,4 +204,16 @@ def get_batch_custom_ui_actions():
|
|||
# install openpype and the host
|
||||
openpype_install()
|
||||
|
||||
return _build_app_menu("FlameMenuBatch")
|
||||
return _build_app_menu("FlameMenuUniversal")
|
||||
|
||||
|
||||
def get_media_panel_custom_ui_actions():
|
||||
"""Hook to create submenu in desktop
|
||||
|
||||
Returns:
|
||||
list: menu object
|
||||
"""
|
||||
# install openpype and the host
|
||||
openpype_install()
|
||||
|
||||
return _build_app_menu("FlameMenuUniversal")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue