mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Merge pull request #1347 from BigRoy/enhancement/publish_job_do_not_register_publish_plugins_twice
Farm Publish: Do not register publish plug-in paths twice
This commit is contained in:
commit
48bc2cea45
1 changed files with 0 additions and 6 deletions
|
|
@ -1022,12 +1022,6 @@ def main_cli_publish(
|
||||||
if addons_manager is None:
|
if addons_manager is None:
|
||||||
addons_manager = AddonsManager()
|
addons_manager = AddonsManager()
|
||||||
|
|
||||||
# TODO validate if this has to happen
|
|
||||||
# - it should happen during 'install_ayon_plugins'
|
|
||||||
publish_paths = addons_manager.collect_plugin_paths()["publish"]
|
|
||||||
for plugin_path in publish_paths:
|
|
||||||
pyblish.api.register_plugin_path(plugin_path)
|
|
||||||
|
|
||||||
applications_addon = addons_manager.get_enabled_addon("applications")
|
applications_addon = addons_manager.get_enabled_addon("applications")
|
||||||
if applications_addon is not None:
|
if applications_addon is not None:
|
||||||
context = get_global_context()
|
context = get_global_context()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue