mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
maya is registering it's launch hooks
This commit is contained in:
parent
32176ba234
commit
0ae844401c
1 changed files with 7 additions and 0 deletions
|
|
@ -35,3 +35,10 @@ class OpenPypeMaya(OpenPypeModule, IHostModule):
|
|||
for key, value in defaults.items():
|
||||
if not env.get(key):
|
||||
env[key] = value
|
||||
|
||||
def get_launch_hook_paths(self, app):
|
||||
if app.host_name != self.host_name:
|
||||
return []
|
||||
return [
|
||||
os.path.join(MAYA_ROOT_DIR, "hooks")
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue