Draft to allow "inventory" actions to be supplied by a Module or Addon.

This commit is contained in:
Roy Nieterau 2023-06-15 14:35:47 +02:00
parent 6f0c5083d3
commit 359d685644
4 changed files with 45 additions and 8 deletions

View file

@ -181,6 +181,11 @@ def install_openpype_plugins(project_name=None, host_name=None):
for path in load_plugin_paths:
register_loader_plugin_path(path)
inventory_action_paths = modules_manager.collect_inventory_action_paths(
host_name)
for path in inventory_action_paths:
register_inventory_action_path(path)
if project_name is None:
project_name = os.environ.get("AVALON_PROJECT")