Added register_launcher_action

This commit is contained in:
wijnand 2018-03-27 16:23:24 +02:00
parent 64fa077236
commit 2fdd3c8c64

View file

@ -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)