From 7eb58a1525488cc903c86fe91b0dead05ede145e Mon Sep 17 00:00:00 2001 From: wijnand Date: Tue, 27 Mar 2018 16:23:24 +0200 Subject: [PATCH] Added register_launcher_action (cherry picked from commit 2fdd3c8) --- colorbleed/__init__.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/colorbleed/__init__.py b/colorbleed/__init__.py index f29597a297..6a1699a030 100644 --- a/colorbleed/__init__.py +++ b/colorbleed/__init__.py @@ -1,5 +1,6 @@ import os from pyblish import api as pyblish +from avalon import api, pipeline PACKAGE_DIR = os.path.dirname(__file__) PLUGINS_DIR = os.path.join(PACKAGE_DIR, "plugins") @@ -16,3 +17,11 @@ def install(): def uninstall(): pyblish.deregister_plugin_path(PUBLISH_PATH) + +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) +