From 71c72ccbbb03f9d392f8fd58736bc0ea994c781b Mon Sep 17 00:00:00 2001 From: aardschok Date: Mon, 2 Oct 2017 16:42:25 +0200 Subject: [PATCH] fixed load plugin issue with missing Alembic --- colorbleed/maya/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/colorbleed/maya/__init__.py b/colorbleed/maya/__init__.py index 481a45692d..43fd9d7d8f 100644 --- a/colorbleed/maya/__init__.py +++ b/colorbleed/maya/__init__.py @@ -55,9 +55,9 @@ def on_init(_): log.warning("Can't load plug-in: " "{0} - {1}".format(plugin, e)) - # Set up all plug-ins - for plugin in ["AbcImport", "AbcExport", "mtoa"]: - force_load_deferred(plugin) + cmds.loadPlugin("AbcImport", quiet=True) + cmds.loadPlugin("AbcExport", quiet=True) + force_load_deferred("mtoa") def on_save(_):