mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +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():
|
||||
"""Install Pype to Avalon."""
|
||||
from pyblish.lib import MessageHandler
|
||||
from openpype.modules import load_modules
|
||||
|
||||
# Make sure modules are loaded
|
||||
load_modules()
|
||||
|
||||
def modified_emit(obj, record):
|
||||
"""Method replacing `emit` in Pyblish's MessageHandler."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue