From 7ebdb7be41c7576fc050a37fcc2398848de2323b Mon Sep 17 00:00:00 2001 From: Kayla Man Date: Wed, 29 May 2024 20:28:58 +0800 Subject: [PATCH] make sure divider doesn't exist when the version up option is being disabled --- client/ayon_core/hosts/maya/api/menu.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/ayon_core/hosts/maya/api/menu.py b/client/ayon_core/hosts/maya/api/menu.py index 92759e933c..cdd494224b 100644 --- a/client/ayon_core/hosts/maya/api/menu.py +++ b/client/ayon_core/hosts/maya/api/menu.py @@ -75,9 +75,8 @@ def install(project_settings): cmds.setParent("..", menu=True) - cmds.menuItem(divider=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()