diff --git a/client/ayon_core/hosts/maya/hooks/pre_auto_load_plugins.py b/client/ayon_core/hosts/maya/hooks/pre_auto_load_plugins.py index 599a75feb7..ed294da125 100644 --- a/client/ayon_core/hosts/maya/hooks/pre_auto_load_plugins.py +++ b/client/ayon_core/hosts/maya/hooks/pre_auto_load_plugins.py @@ -23,7 +23,7 @@ class MayaPreAutoLoadPlugins(PreLaunchHook): # Force post initialization so our dedicated plug-in load can run # prior to Maya opening a scene file. - key = "OPENPYPE_OPEN_WORKFILE_POST_INITIALIZATION" + key = "AYON_OPEN_WORKFILE_POST_INITIALIZATION" self.launch_context.env[key] = "1" self.log.debug("Explicit plugins loading.") diff --git a/client/ayon_core/hosts/maya/hooks/pre_open_workfile_post_initialization.py b/client/ayon_core/hosts/maya/hooks/pre_open_workfile_post_initialization.py index 11d7172994..6bf678474f 100644 --- a/client/ayon_core/hosts/maya/hooks/pre_open_workfile_post_initialization.py +++ b/client/ayon_core/hosts/maya/hooks/pre_open_workfile_post_initialization.py @@ -22,5 +22,5 @@ class MayaPreOpenWorkfilePostInitialization(PreLaunchHook): self.data.pop("start_last_workfile") self.log.debug("Opening workfile post initialization.") - key = "OPENPYPE_OPEN_WORKFILE_POST_INITIALIZATION" + key = "AYON_OPEN_WORKFILE_POST_INITIALIZATION" self.launch_context.env[key] = "1" diff --git a/client/ayon_core/hosts/maya/startup/userSetup.py b/client/ayon_core/hosts/maya/startup/userSetup.py index 588dd626b9..882f2df27c 100644 --- a/client/ayon_core/hosts/maya/startup/userSetup.py +++ b/client/ayon_core/hosts/maya/startup/userSetup.py @@ -35,7 +35,7 @@ if explicit_plugins_loading["enabled"]: ) # Open Workfile Post Initialization. -key = "OPENPYPE_OPEN_WORKFILE_POST_INITIALIZATION" +key = "AYON_OPEN_WORKFILE_POST_INITIALIZATION" if bool(int(os.environ.get(key, "0"))): def _log_and_open(): path = os.environ["AVALON_LAST_WORKFILE"]