mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
force to load openpype modules on install
This commit is contained in:
parent
da4e4e7501
commit
3579a62cb0
1 changed files with 4 additions and 0 deletions
|
|
@ -68,6 +68,10 @@ def patched_discover(superclass):
|
||||||
def install():
|
def install():
|
||||||
"""Install Pype to Avalon."""
|
"""Install Pype to Avalon."""
|
||||||
from pyblish.lib import MessageHandler
|
from pyblish.lib import MessageHandler
|
||||||
|
from openpype.modules import load_modules
|
||||||
|
|
||||||
|
# Make sure modules are loaded
|
||||||
|
load_modules()
|
||||||
|
|
||||||
def modified_emit(obj, record):
|
def modified_emit(obj, record):
|
||||||
"""Method replacing `emit` in Pyblish's MessageHandler."""
|
"""Method replacing `emit` in Pyblish's MessageHandler."""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue