mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
add version up workfile in ayon menu which is located inside the workfiles in core addon
This commit is contained in:
parent
39ca9922bb
commit
e523b47412
2 changed files with 18 additions and 8 deletions
|
|
@ -75,12 +75,13 @@ def install(project_settings):
|
|||
|
||||
cmds.setParent("..", menu=True)
|
||||
|
||||
if project_settings["core"]["tools"]["Workfiles"].get("version_up_workfile"):
|
||||
cmds.menuItem(divider=True)
|
||||
cmds.menuItem(
|
||||
"Version Up Workfile",
|
||||
command=lambda *args: version_up_workfile()
|
||||
)
|
||||
if project_settings["core"]["tools"]["Workfiles"]["ayon_menu"].get(
|
||||
"version_up_workfile"):
|
||||
cmds.menuItem(divider=True)
|
||||
cmds.menuItem(
|
||||
"Version Up Workfile",
|
||||
command=lambda *args: version_up_workfile()
|
||||
)
|
||||
|
||||
cmds.menuItem(divider=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue