mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 17:04:54 +01:00
adding hook to host
This commit is contained in:
parent
3c84b4195d
commit
633738daa7
1 changed files with 7 additions and 0 deletions
|
|
@ -63,5 +63,12 @@ class NukeAddon(OpenPypeModule, IHostAddon):
|
|||
path_paths.append(quick_time_path)
|
||||
env["PATH"] = os.pathsep.join(path_paths)
|
||||
|
||||
def get_launch_hook_paths(self, app):
|
||||
if app.host_name != self.host_name:
|
||||
return []
|
||||
return [
|
||||
os.path.join(NUKE_ROOT_DIR, "hooks")
|
||||
]
|
||||
|
||||
def get_workfile_extensions(self):
|
||||
return [".nk"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue