mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
Remove force_load_deferred of Arnold at startup since it just introduced more .ai attributes in scenes and didn't fix the render issue
This commit is contained in:
parent
5b5e617961
commit
eca945dee4
1 changed files with 0 additions and 11 deletions
|
|
@ -50,16 +50,6 @@ def uninstall():
|
|||
def on_init(_):
|
||||
avalon.logger.info("Running callback on init..")
|
||||
|
||||
def force_load_deferred(plugin):
|
||||
"""Load a plug-in deferred so it runs after UI has initialized"""
|
||||
try:
|
||||
utils.executeDeferred(partial(cmds.loadPlugin,
|
||||
plugin,
|
||||
quiet=True))
|
||||
except RuntimeError, e:
|
||||
log.warning("Can't load plug-in: "
|
||||
"{0} - {1}".format(plugin, e))
|
||||
|
||||
def safe_deferred(fn):
|
||||
"""Execute deferred the function in a try-except"""
|
||||
|
||||
|
|
@ -77,7 +67,6 @@ def on_init(_):
|
|||
|
||||
cmds.loadPlugin("AbcImport", quiet=True)
|
||||
cmds.loadPlugin("AbcExport", quiet=True)
|
||||
force_load_deferred("mtoa")
|
||||
|
||||
from .customize import override_component_mask_commands
|
||||
safe_deferred(override_component_mask_commands)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue