Merge pull request #1033 from pypeclub/bugfix/tools_missing_env_group

Tools miss env groups in schema
This commit is contained in:
Milan Kolar 2021-02-19 13:02:01 +01:00 committed by GitHub
commit db68129ab2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 5 deletions

View file

@ -56,12 +56,20 @@
},
"vray": {
"enabled": true,
"environment": {},
"environment": {
"__environment_keys__": {
"vray": []
}
},
"variants": {}
},
"yeti": {
"enabled": true,
"environment": {},
"environment": {
"__environment_keys__": {
"yeti": []
}
},
"variants": {}
},
"other": {

View file

@ -494,7 +494,7 @@ class SystemSettings(RootEntity):
Implementation of abstract method.
"""
return DEFAULTS_DIR
return os.path.join(DEFAULTS_DIR, SYSTEM_SETTINGS_KEY)
def _save_studio_values(self):
settings_value = self.settings_value()

View file

@ -13,7 +13,8 @@
{
"key": "environment",
"label": "Environment",
"type": "raw-json"
"type": "raw-json",
"env_group_key": "vray"
},
{
"type": "schema_template",

View file

@ -13,7 +13,8 @@
{
"key": "environment",
"label": "Environment",
"type": "raw-json"
"type": "raw-json",
"env_group_key": "yeti"
},
{
"type": "schema_template",