Skip to content

Commit

Permalink
Merge pull request #33 from ynput/10_creator_new_publisher
Browse files Browse the repository at this point in the history
AY-6253_Convert Flame creators to new publisher
  • Loading branch information
jakubjezek001 authored Dec 5, 2024
2 parents ba50b07 + 6e0e676 commit c8297f2
Show file tree
Hide file tree
Showing 13 changed files with 1,566 additions and 1,128 deletions.
7 changes: 5 additions & 2 deletions client/ayon_flame/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@
FlameMenuUniversal
)
from .plugin import (
Creator,
PublishableClip,
ClipLoader,
OpenClipSolver
OpenClipSolver,
FlameCreator,
HiddenFlameCreator,
)
from .workio import (
open_file,
Expand Down Expand Up @@ -141,6 +142,8 @@
"PublishableClip",
"ClipLoader",
"OpenClipSolver",
"FlameCreator",
"HiddenFlameCreator",

# workio
"open_file",
Expand Down
15 changes: 10 additions & 5 deletions client/ayon_flame/api/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,16 @@ def build_menu(self):

menu = deepcopy(self.menu)

menu['actions'].append({
"name": "1 - Create...",
"execute": lambda x: callback_selection(
x, self.tools_helper.show_creator)
})
menu['actions'].append(
{
"name": "1 - Create...",
"execute": lambda x: callback_selection(
x, host_tools.show_publisher(
tab="create", parent=_get_main_window()
)
),
}
)
menu["actions"].append(
{
"name": "2 - Publish...",
Expand Down
Loading

0 comments on commit c8297f2

Please sign in to comment.