mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Set UE_PYTHONPATH when launching Unreal
This commit is contained in:
parent
e9cd50b1cf
commit
412c83bda1
1 changed files with 2 additions and 1 deletions
|
|
@ -54,7 +54,8 @@ class UnrealAddon(OpenPypeModule, IHostAddon):
|
|||
|
||||
# Set default environments if are not set via settings
|
||||
defaults = {
|
||||
"OPENPYPE_LOG_NO_COLORS": "True"
|
||||
"OPENPYPE_LOG_NO_COLORS": "True",
|
||||
"UE_PYTHONPATH": os.environ.get("PYTHONPATH", ""),
|
||||
}
|
||||
for key, value in defaults.items():
|
||||
if not env.get(key):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue