mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
Register launcher action
This commit is contained in:
parent
f8869e4f68
commit
c283f732c9
1 changed files with 4 additions and 7 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue