mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
define 'AYON_UNREAL_ROOT' environment variable in unreal addon
This commit is contained in:
parent
31fc87a667
commit
48ac6c8ed1
1 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,11 @@ class UnrealAddon(OpenPypeModule, IHostAddon):
|
|||
def initialize(self, module_settings):
|
||||
self.enabled = True
|
||||
|
||||
def get_global_environments(self):
|
||||
return {
|
||||
"AYON_UNREAL_ROOT": UNREAL_ROOT_DIR,
|
||||
}
|
||||
|
||||
def add_implementation_envs(self, env, app):
|
||||
"""Modify environments to contain all required for implementation."""
|
||||
# Set AYON_UNREAL_PLUGIN required for Unreal implementation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue