application launch context load modules to collect prelaunch hooks

This commit is contained in:
iLLiCiTiT 2020-12-22 10:48:59 +01:00
parent 1ef7dfbd33
commit 2cdaf321fb

View file

@ -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):