mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
use 'AYON_OPEN_WORKFILE_POST_INITIALIZATION' instead of 'OPENPYPE_OPEN_WORKFILE_POST_INITIALIZATION'
This commit is contained in:
parent
5e90b551f6
commit
7b2c54b97a
3 changed files with 3 additions and 3 deletions
|
|
@ -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.")
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue