mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
Added register_launcher_action
This commit is contained in:
parent
64fa077236
commit
2fdd3c8c64
1 changed files with 9 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue