mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
feat(fusion): adding scripts (with bug which needs to be fixed)
This commit is contained in:
parent
2701e152de
commit
152a00f945
15 changed files with 547 additions and 74 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import os
|
||||
import sys
|
||||
import avalon.api as avalon
|
||||
import pype
|
||||
|
||||
from pypeapp import Logger
|
||||
|
|
@ -9,16 +8,17 @@ log = Logger().get_logger(__name__)
|
|||
|
||||
|
||||
def main(env):
|
||||
from pype.hosts import fusion
|
||||
from pype.hosts.fusion import menu
|
||||
import avalon.fusion
|
||||
# Registers pype's Global pyblish plugins
|
||||
pype.install()
|
||||
|
||||
# activate resolve from pype
|
||||
avalon.install(bmdvr)
|
||||
avalon.api.install(avalon.fusion)
|
||||
|
||||
log.info(f"Avalon registred hosts: {avalon.registered_host()}")
|
||||
log.info(f"Avalon registred hosts: {avalon.api.registered_host()}")
|
||||
|
||||
bmdvr.launch_pype_menu()
|
||||
menu.launch_pype_menu()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue