settings: schema workfile options

This commit is contained in:
Jakub Jezek 2021-05-26 18:30:01 +02:00
parent e3f53f9716
commit fcdfb26921
No known key found for this signature in database
GPG key ID: D8548FBF690B100A
3 changed files with 154 additions and 5 deletions

View file

@ -147,8 +147,18 @@
"node_name_template": "{class_name}_{ext}"
}
},
"workfile_build": {
"profiles": [
"workfile_options": {
"create_first_version": {
"enabled": false,
"use_buildin_template": false,
"custom_template_paths": {
"windows": "",
"darwin": "",
"linux": ""
},
"builder_on": false
},
"builder_profiles": [
{
"tasks": [
"compositing"
@ -162,10 +172,12 @@
],
"repre_names": [
"exr",
"dpx"
"dpx",
"mov"
],
"loaders": [
"LoadSequence"
"LoadSequence",
"LoadMov"
]
}
],

View file

@ -104,7 +104,7 @@
},
{
"type": "schema",
"name": "schema_workfile_build"
"name": "schema_workfile_options"
},
{
"type": "schema",

View file

@ -0,0 +1,137 @@
{
"type": "dict",
"collapsible": true,
"key": "workfile_options",
"label": "Workfile Options",
"children": [
{
"type": "dict",
"collapsible": true,
"key": "create_first_version",
"label": "Create first version",
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled",
"default": false
},
{
"type": "boolean",
"key": "use_buildin_template",
"label": "Use buildin template (if available)",
"default": false
},
{
"type": "path",
"key": "custom_template_paths",
"label": "Custom Template Path",
"multiplatform": true,
"multipath": false
},
{
"type": "boolean",
"key": "builder_on",
"label": "Use Builder Profiles At Start",
"default": false
}
]
},
{
"type": "collapsible-wrap",
"label": "Builder Profiles",
"children": [
{
"type": "list",
"key": "builder_profiles",
"label": "Profiles",
"object_type": {
"type": "dict",
"children": [
{
"key": "tasks",
"label": "Tasks",
"type": "list",
"object_type": "text"
},
{
"type": "splitter"
},
{
"key": "current_context",
"label": "<b>Current Context</b>",
"type": "list",
"highlight_content": true,
"object_type": {
"type": "dict",
"children": [
{
"key": "subset_name_filters",
"label": "Subset name Filters",
"type": "list",
"object_type": "text"
},
{
"key": "families",
"label": "Families",
"type": "list",
"object_type": "text"
},
{
"key": "repre_names",
"label": "Repre Names",
"type": "list",
"object_type": "text"
},
{
"key": "loaders",
"label": "Loaders",
"type": "list",
"object_type": "text"
}
]
}
},
{
"key": "linked_assets",
"label": "<b>Linked Assets</b>",
"type": "list",
"highlight_content": true,
"object_type": {
"type": "dict",
"children": [
{
"key": "subset_name_filters",
"label": "Subset name Filters",
"type": "list",
"object_type": "text"
},
{
"key": "families",
"label": "Families",
"type": "list",
"object_type": "text"
},
{
"key": "repre_names",
"label": "Repre Names",
"type": "list",
"object_type": "text"
},
{
"key": "loaders",
"label": "Loaders",
"type": "list",
"object_type": "text"
}
]
}
}
]
}
}
]
}
]
}