mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
🐛 fix environment resolution
this will fix environment resolution of general settings in one pass
This commit is contained in:
parent
07ac291a05
commit
4c849e8d86
1 changed files with 4 additions and 1 deletions
5
start.py
5
start.py
|
|
@ -270,8 +270,11 @@ def set_openpype_global_environments() -> None:
|
|||
|
||||
general_env = get_general_environments()
|
||||
|
||||
# first resolve general environment because merge doesn't expect
|
||||
# values to be list.
|
||||
# TODO: switch to OpenPype environment functions
|
||||
merged_env = acre.merge(
|
||||
acre.parse(general_env),
|
||||
acre.compute(acre.parse(general_env), cleanup=False),
|
||||
dict(os.environ)
|
||||
)
|
||||
env = acre.compute(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue