mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge pull request #5843 from BigRoy/bugfix/register_launcher_action_from_addon
Fix registering launcher actions from OpenPypeModules
This commit is contained in:
commit
f8ae5a0c35
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class LauncherAction(OpenPypeModule, ITrayAction):
|
||||||
actions_paths = self.manager.collect_plugin_paths()["actions"]
|
actions_paths = self.manager.collect_plugin_paths()["actions"]
|
||||||
for path in actions_paths:
|
for path in actions_paths:
|
||||||
if path and os.path.exists(path):
|
if path and os.path.exists(path):
|
||||||
register_launcher_action_path(actions_dir)
|
register_launcher_action_path(path)
|
||||||
|
|
||||||
paths_str = os.environ.get("AVALON_ACTIONS") or ""
|
paths_str = os.environ.get("AVALON_ACTIONS") or ""
|
||||||
if paths_str:
|
if paths_str:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue