From c283f732c93edd8e91cb3f72409ab82beea868d2 Mon Sep 17 00:00:00 2001 From: wijnand Date: Fri, 30 Mar 2018 11:44:11 +0200 Subject: [PATCH] Register launcher action --- colorbleed/__init__.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/colorbleed/__init__.py b/colorbleed/__init__.py index 6a1699a030..1e47cf9995 100644 --- a/colorbleed/__init__.py +++ b/colorbleed/__init__.py @@ -1,6 +1,7 @@ import os from pyblish import api as pyblish -from avalon import api, pipeline + +from .config_actions import register_actions PACKAGE_DIR = os.path.dirname(__file__) PLUGINS_DIR = os.path.join(PACKAGE_DIR, "plugins") @@ -19,9 +20,5 @@ def uninstall(): def register_launcher_actions(): - """Register specific actions which should be accessible in the launcher""" - - # Register fusion actions - from .fusion import rendernode - pipeline.register_plugin(api.Action, rendernode.FusionRenderNode) - + """Convenience function to register the actions""" + register_actions()