tools are dynamic dictionaries

This commit is contained in:
iLLiCiTiT 2021-03-25 19:40:51 +01:00
parent 07fb637926
commit 2fbe5d8165
5 changed files with 25 additions and 125 deletions

View file

@ -1,37 +1,35 @@
{
"key": "tools",
"type": "dict",
"label": "Tools",
"key": "tools",
"collapsible": true,
"is_file": true,
"children": [
{
"type": "schema",
"name": "schema_arnold"
},
{
"type": "schema",
"name": "schema_vray"
},
{
"type": "schema",
"name": "schema_yeti"
},
{
"type": "dict",
"key": "other",
"children": [
{
"type": "schema_template",
"name": "template_tool_variant",
"template_data": [
{
"tool_name": "othertools",
"tool_label": "Other Tools and Plugins"
"type": "dict-modifiable",
"label": "Tools",
"key": "tool_groups",
"collapsible_key": true,
"object_type": {
"type": "dict",
"children": [
{
"key": "environment",
"label": "Environments",
"type": "raw-json"
},
{
"type": "separator"
},
{
"type": "dict-modifiable",
"key": "variants",
"label": "Variants",
"object_type": {
"type": "raw-json"
}
]
}
]
}
]
}
}
]
}

View file

@ -1,29 +0,0 @@
{
"type": "dict",
"key": "mtoa",
"label": "Autodesk Arnold",
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"key": "environment",
"label": "Environment (mtoa)",
"type": "raw-json",
"env_group_key": "mtoa"
},
{
"type": "schema_template",
"name": "template_tool_variant",
"template_data": [
{
"tool_label": "Arnold Versions"
}
]
}
]
}

View file

@ -1,29 +0,0 @@
{
"type": "dict",
"key": "vray",
"label": "Chaos Group Vray",
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"key": "environment",
"label": "Environment",
"type": "raw-json",
"env_group_key": "vray"
},
{
"type": "schema_template",
"name": "template_tool_variant",
"template_data": [
{
"tool_label": "Vray Versions"
}
]
}
]
}

View file

@ -1,29 +0,0 @@
{
"type": "dict",
"key": "yeti",
"label": "Pergrine Labs Yeti",
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"key": "environment",
"label": "Environment",
"type": "raw-json",
"env_group_key": "yeti"
},
{
"type": "schema_template",
"name": "template_tool_variant",
"template_data": [
{
"tool_label": "Yeti Versions"
}
]
}
]
}

View file

@ -1,11 +0,0 @@
[
{
"type": "dict-modifiable",
"key": "variants",
"label": "{tool_label}",
"value_is_env_group": true,
"object_type": {
"type": "raw-json"
}
}
]