mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
added event system to publisher controller
This commit is contained in:
parent
36fb3925bc
commit
c13bdcbbac
1 changed files with 3 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ except Exception:
|
|||
import pyblish.api
|
||||
|
||||
from openpype.client import get_assets
|
||||
from openpype.lib.events import EventSystem
|
||||
from openpype.pipeline import (
|
||||
PublishValidationError,
|
||||
registered_host,
|
||||
|
|
@ -365,6 +366,8 @@ class PublisherController:
|
|||
self.host = registered_host()
|
||||
self.headless = headless
|
||||
|
||||
self.event_system = EventSystem()
|
||||
|
||||
self.create_context = CreateContext(
|
||||
self.host, dbcon, headless=headless, reset=False
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue