Merge branch 'develop' into enhancement/OP-2848_move-loader-logic-from-avalon-to-openpype

This commit is contained in:
Jakub Trllo 2022-03-14 11:47:33 +01:00
commit eb49761887
44 changed files with 720 additions and 211 deletions

View file

@ -9,6 +9,7 @@ import avalon.api
from avalon.pipeline import AVALON_CONTAINER_ID
from openpype import lib
from openpype.lib import register_event_callback
from openpype.pipeline import (
LegacyCreator,
register_loader_plugins_path,
@ -134,7 +135,7 @@ def check_inventory():
harmony.send({"function": "PypeHarmony.message", "args": msg})
def application_launch():
def application_launch(event):
"""Event that is executed after Harmony is launched."""
# FIXME: This is breaking server <-> client communication.
# It is now moved so it it manually called.
@ -192,7 +193,7 @@ def install():
"instanceToggled", on_pyblish_instance_toggled
)
avalon.api.on("application.launched", application_launch)
register_event_callback("application.launched", application_launch)
def uninstall():