From af9be455d9d1a09c197efab502cc258e1bb0645d Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Fri, 2 Oct 2020 14:31:02 +0200 Subject: [PATCH] added default values of templates ability to examples --- .../settings/gui_schemas/system_schema/example_schema.json | 3 ++- .../gui_schemas/system_schema/example_template.json | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/example_schema.json b/pype/tools/settings/settings/gui_schemas/system_schema/example_schema.json index ddd4fc7235..09624006f9 100644 --- a/pype/tools/settings/settings/gui_schemas/system_schema/example_schema.json +++ b/pype/tools/settings/settings/gui_schemas/system_schema/example_schema.json @@ -14,7 +14,8 @@ "name": "example_template", "template_data": { "host_label": "Maya 2019", - "host_name": "maya_2019" + "host_name": "maya_2019", + "multiplath_executables": false } }, { "type": "schema_template", diff --git a/pype/tools/settings/settings/gui_schemas/system_schema/example_template.json b/pype/tools/settings/settings/gui_schemas/system_schema/example_template.json index fb629c6170..29d3da26c9 100644 --- a/pype/tools/settings/settings/gui_schemas/system_schema/example_template.json +++ b/pype/tools/settings/settings/gui_schemas/system_schema/example_template.json @@ -1,5 +1,9 @@ [ { + "__default_values__": { + "multiplath_executables": true + } + }, { "type": "raw-json", "label": "{host_label} Environments", "key": "{host_name}_environments", @@ -8,7 +12,7 @@ "type": "path-widget", "key": "{host_name}_executables", "label": "{host_label} - Full paths to executables", - "multiplatform": true, + "multiplatform": "{multiplath_executables}", "multipath": true } ]