add shader definition item to menu

This commit is contained in:
Ondrej Samohel 2021-06-24 17:01:11 +02:00 committed by Ondřej Samohel
parent e8066f072e
commit 7948820108
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
3 changed files with 19 additions and 36 deletions

View file

@ -10,12 +10,16 @@
"scriptsmenu": {
"name": "OpenPype Tools",
"definition": [
{
{
"type": "action",
"command": "$OPENPYPE_SCRIPTS\\others\\save_scene_incremental.py",
"sourcetype": "file",
"title": "# Version Up",
"tooltip": "Incremental save with a specific format"
"command": "import openpype.hosts.maya.api.commands as op_cmds; op_cmds.edit_shader_definitions()",
"sourcetype": "python",
"title": "Edit shader name definitions",
"tooltip": "Edit shader name definitions used in validation and renaming.",
"tags": [
"pipeline",
"shader"
]
}
]
},