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:
Jakub Trllo 2025-06-30 11:39:21 +02:00 committed by GitHub
commit 48bc2cea45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1022,12 +1022,6 @@ def main_cli_publish(
if addons_manager is None:
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")
if applications_addon is not None:
context = get_global_context()