mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
added workfile_template_profiles to settings
This commit is contained in:
parent
ada23f369b
commit
a06ab7e0ef
3 changed files with 38 additions and 1 deletions
|
|
@ -249,6 +249,13 @@
|
|||
]
|
||||
},
|
||||
"Workfiles": {
|
||||
"workfile_template_profiles": [
|
||||
{
|
||||
"task_types": [],
|
||||
"hosts": [],
|
||||
"workfile_template": "work"
|
||||
}
|
||||
],
|
||||
"last_workfile_on_startup": [
|
||||
{
|
||||
"hosts": [],
|
||||
|
|
|
|||
|
|
@ -522,7 +522,6 @@ class AnatomyTemplatesEnumEntity(BaseEnumEntity):
|
|||
enum_items_list = []
|
||||
|
||||
for key, value in templates_entity.items():
|
||||
print(key, value)
|
||||
enum_items_list.append(
|
||||
{key: key})
|
||||
valid_keys.add(key)
|
||||
|
|
|
|||
|
|
@ -65,6 +65,37 @@
|
|||
"key": "Workfiles",
|
||||
"label": "Workfiles",
|
||||
"children": [
|
||||
{
|
||||
"type": "list",
|
||||
"key": "workfile_template_profiles",
|
||||
"label": "Workfile template profiles",
|
||||
"use_label_wrap": true,
|
||||
"object_type": {
|
||||
"type": "dict",
|
||||
"children": [
|
||||
{
|
||||
"key": "task_types",
|
||||
"label": "Task types",
|
||||
"type": "task-types-enum"
|
||||
},
|
||||
{
|
||||
"type": "hosts-enum",
|
||||
"key": "hosts",
|
||||
"label": "Hosts",
|
||||
"multiselection": true
|
||||
},
|
||||
{
|
||||
"type": "splitter"
|
||||
},
|
||||
{
|
||||
"key": "workfile_template",
|
||||
"label": "Workfile template",
|
||||
"type": "anatomy-templates-enum",
|
||||
"multiselection": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "list",
|
||||
"key": "last_workfile_on_startup",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue