mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
application launch context load modules to collect prelaunch hooks
This commit is contained in:
parent
1ef7dfbd33
commit
2cdaf321fb
1 changed files with 7 additions and 0 deletions
|
|
@ -610,6 +610,13 @@ class ApplicationLaunchContext:
|
|||
and path not in paths
|
||||
):
|
||||
paths.append(path)
|
||||
|
||||
# Load modules paths
|
||||
from pype.modules import ModulesManager
|
||||
|
||||
manager = ModulesManager()
|
||||
paths.extend(manager.collect_launch_hook_paths())
|
||||
|
||||
return paths
|
||||
|
||||
def discover_launch_hooks(self, force=False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue