Skip to content

Commit

Permalink
add photoshop settings for scriptemenu
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitConnan authored and ClementHector committed Feb 7, 2022
1 parent ce79d66 commit aee4f0d
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
16 changes: 16 additions & 0 deletions openpype/settings/defaults/project_settings/photoshop.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,22 @@
}
}
},
"scriptsmenu": {
"name": "OpenPype Tools",
"definition": [
{
"type": "action",
"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"
]
}
]
},
"workfile_builder": {
"create_first_version": false,
"custom_templates": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@
}
]
},
{
"type": "schema",
"name": "schema_photoshop_scriptsmenu"
},
{
"type": "schema_template",
"name": "template_workfile_options",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"type": "dict",
"collapsible": true,
"key": "scriptsmenu",
"label": "Scripts Menu Definition",
"children": [
{
"type": "text",
"key": "name",
"label": "Menu Name"
},
{
"type": "splitter"
},
{
"type": "raw-json",
"key": "definition",
"label": "Menu definition",
"is_list": true
}
]
}

0 comments on commit aee4f0d

Please sign in to comment.