mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Draft to allow "inventory" actions to be supplied by a Module or Addon.
This commit is contained in:
parent
6f0c5083d3
commit
359d685644
4 changed files with 45 additions and 8 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue