mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
'project_environments' are loaded correctly
This commit is contained in:
parent
8331c90fcf
commit
c8ec6ad2b8
2 changed files with 1 additions and 8 deletions
|
|
@ -1658,6 +1658,7 @@ def apply_project_environments_value(
|
|||
|
||||
env_value = project_settings["global"]["project_environments"]
|
||||
if env_value:
|
||||
env_value = json.loads(env_value)
|
||||
parsed_value = parse_environments(env_value, env_group)
|
||||
env.update(acre.compute(
|
||||
_merge_env(parsed_value, env),
|
||||
|
|
|
|||
|
|
@ -406,14 +406,6 @@ def _convert_global_project_settings(ayon_settings, output, default_settings):
|
|||
# Publish conversion
|
||||
ayon_publish = ayon_core["publish"]
|
||||
|
||||
# Project root settings - json string to dict
|
||||
ayon_core["project_environments"] = json.loads(
|
||||
ayon_core["project_environments"]
|
||||
)
|
||||
ayon_core["project_folder_structure"] = json.dumps(json.loads(
|
||||
ayon_core["project_folder_structure"]
|
||||
))
|
||||
|
||||
# Tools settings
|
||||
ayon_core["sync_server"] = (
|
||||
default_settings["global"]["sync_server"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue