Skip to content

Commit

Permalink
Merge pull request #254 from sol-ansano-kim/menu_check_issue
Browse files Browse the repository at this point in the history
mgear menu disappearing issue
  • Loading branch information
miquelcampos committed Aug 16, 2023
2 parents 6a6f1e9 + a8197cb commit 8fb6138
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release/scripts/mgear/menu.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from maya import cmds
import pymel.core as pm
import mgear
import os
Expand All @@ -15,7 +16,7 @@ def create(menuId=menuId):
str: main manu name
"""

if pm.menu(menuId, exists=True):
if cmds.menu(menuId, exists=True):
try:
pm.deleteUI(menuId)
except RuntimeError:
Expand Down

0 comments on commit 8fb6138

Please sign in to comment.