adding hook to host

This commit is contained in:
Jakub Jezek 2023-02-21 13:56:17 +01:00 committed by Kayla Man
parent 3c84b4195d
commit 633738daa7

View file

@ -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"]