refactoring of settings for more explicitly communicated attributes

This commit is contained in:
Jakub Jezek 2023-04-12 17:25:41 +02:00
parent 7c54d42735
commit ae0d6dd1b5
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
38 changed files with 139 additions and 133 deletions

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
}
},

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
}
},

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
}
},

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": true,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
},
"project": {

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
},
"ocio": {

View file

@ -7,7 +7,6 @@
]
},
"file_rules": {
"enabled": false,
"rules": {
"example": {
"pattern": ".*(beauty).*",

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
}
},

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
},
"workfile": {

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
}
},

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
}
},

View file

@ -1,13 +1,13 @@
{
"open_workfile_post_initialization": false,
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
},
"colorManagementPreference_v2": {

View file

@ -9,13 +9,13 @@
}
},
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
},
"viewer": {
@ -27,11 +27,6 @@
"workfile": {
"colorManagement": "Nuke",
"OCIO_config": "nuke-default",
"customOCIOConfigPath": {
"windows": [],
"darwin": [],
"linux": []
},
"workingSpaceLUT": "linear",
"monitorLut": "sRGB",
"int8Lut": "sRGB",

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
}
},

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
}
},

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
}
},

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
}
},

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
}
},

View file

@ -1,12 +1,12 @@
{
"imageio": {
"enabled": false,
"activate_host_color_management": true,
"ocio_config": {
"enabled": false,
"override_global_config": false,
"filepath": []
},
"file_rules": {
"enabled": false,
"override_global_rules": false,
"rules": {}
}
},

View file

@ -9,13 +9,13 @@
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -9,13 +9,13 @@
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -9,13 +9,13 @@
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -9,13 +9,13 @@
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -10,12 +10,12 @@
"type": "dict",
"label": "Color Management (ImageIO)",
"collapsible": true,
"checkbox_key": "enabled",
"is_group": true,
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -27,8 +27,39 @@
]
},
{
"type": "schema",
"name": "schema_imageio_file_rules"
"key": "file_rules",
"type": "dict",
"label": "File Rules",
"collapsible": true,
"children": [
{
"key": "rules",
"label": "Rules",
"type": "dict-modifiable",
"highlight_content": true,
"collapsible": false,
"object_type": {
"type": "dict",
"children": [
{
"key": "pattern",
"label": "Regex pattern",
"type": "text"
},
{
"key": "colorspace",
"label": "Colorspace name",
"type": "text"
},
{
"key": "ext",
"label": "File extension",
"type": "text"
}
]
}
}
]
}
]

View file

@ -9,13 +9,13 @@
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -9,14 +9,13 @@
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"is_group": true,
"collapsible": true,
"checkbox_key": "enabled",
"is_group": true,
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -9,13 +9,13 @@
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -9,13 +9,13 @@
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -16,12 +16,11 @@
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -9,13 +9,13 @@
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -9,13 +9,13 @@
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -9,13 +9,13 @@
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -9,13 +9,13 @@
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -9,13 +9,13 @@
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -9,13 +9,13 @@
"key": "imageio",
"type": "dict",
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",

View file

@ -3,12 +3,11 @@
"type": "dict",
"label": "OCIO config",
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "override_global_config",
"label": "Override global OCIO config"
},
{
"type": "path",
@ -18,4 +17,4 @@
"multipath": true
}
]
}
}

View file

@ -3,12 +3,11 @@
"type": "dict",
"label": "File Rules",
"collapsible": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
"key": "override_global_rules",
"label": "Override global file rules"
},
{
"key": "rules",
@ -38,4 +37,4 @@
}
}
]
}
}

View file

@ -4,16 +4,11 @@
"label": "Color Management (ImageIO)",
"collapsible": true,
"is_group": true,
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "label",
"label": "<b style='color:red'>'Custom OCIO config path'</b> has deprecated. <br> If you need to set custom config, just enable and add path into 'OCIO config'. <br>Anatomy keys are supported.</i>."
"key": "activate_host_color_management",
"label": "Enable Color Management in host"
},
{
"type": "schema",
@ -108,19 +103,9 @@
},
{
"cg-config-v1.0.0_aces-v1.3_ocio-v2.1": "cg-config-v1.0.0_aces-v1.3_ocio-v2.1 (14)"
},
{
"custom": "custom"
}
]
},
{
"type": "path",
"key": "customOCIOConfigPath",
"label": "Custom OCIO config path",
"multiplatform": true,
"multipath": true
},
{
"type": "text",
"key": "workingSpaceLUT",