mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
Add menu quad in hiero
This commit is contained in:
parent
343440d95f
commit
c14b8323db
3 changed files with 37 additions and 1 deletions
|
|
@ -1,4 +1,36 @@
|
|||
{
|
||||
"ext_mapping": {
|
||||
"model": "hrox",
|
||||
"mayaAscii": "hrox",
|
||||
"camera": "hrox",
|
||||
"rig": "hrox",
|
||||
"workfile": "hrox",
|
||||
"yetiRig": "hrox"
|
||||
},
|
||||
"heiro-dirmap": {
|
||||
"enabled": false,
|
||||
"paths": {
|
||||
"source-path": [],
|
||||
"destination-path": []
|
||||
}
|
||||
},
|
||||
"scriptsmenu": {
|
||||
"name": "OpenPype Tools",
|
||||
"definition": [
|
||||
{
|
||||
"type": "action",
|
||||
"command": "import openpype.hosts.hiero.api.commands as hiero; hiero.edit_shader_definitions()",
|
||||
"sourcetype": "python",
|
||||
"title": "Edit shader name definitions",
|
||||
"tooltip": "Edit shader name definitions used in validation and renaming.",
|
||||
"tags": [
|
||||
"pipeline",
|
||||
"shader"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"create": {
|
||||
"CreateShotClip": {
|
||||
"hierarchy": "{folder}/{sequence}",
|
||||
|
|
|
|||
|
|
@ -206,6 +206,10 @@
|
|||
{
|
||||
"type": "schema",
|
||||
"name": "schema_publish_gui_filter"
|
||||
},
|
||||
{
|
||||
"type": "schema",
|
||||
"name": "schema_maya_scriptsmenu"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ def _nuke_main_window():
|
|||
"""Return Nuke's main window"""
|
||||
for obj in QtWidgets.QApplication.topLevelWidgets():
|
||||
if (obj.inherits('QMainWindow') and
|
||||
obj.metaObject().className() == 'Foundry::UI::DockMainWindow'):
|
||||
obj.metaObject().className() == 'Foundry::UI::DockMainWindow'):
|
||||
return obj
|
||||
raise RuntimeError('Could not find Nuke MainWindow instance')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue