mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Integrated script menu at launch, menu config is wip
This commit is contained in:
parent
91c3e6fcbf
commit
dfe134ebbc
2 changed files with 475 additions and 258 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -30,9 +30,11 @@ def deferred():
|
|||
config_path = os.path.join(os.path.dirname(__file__), "menu.json")
|
||||
config = menu.load_configuration(config_path)
|
||||
|
||||
# hack?
|
||||
# get Maya menubar
|
||||
parent = launchformaya._maya_main_menubar()
|
||||
cb_menu = menu.ScriptsMenu(title=self._menu.title(), parent=parent)
|
||||
cb_menu = menu.ScriptsMenu(objectName=self._menu,
|
||||
title=self._menu.title(),
|
||||
parent=parent)
|
||||
|
||||
# register modifiers
|
||||
modifiers = QtCore.Qt.ControlModifier | QtCore.Qt.ShiftModifier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue