Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
add custom menu at all times
Browse files Browse the repository at this point in the history
  • Loading branch information
mkolar committed Oct 2, 2020
1 parent d965a2a commit 826f437
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pype/hosts/maya/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def add_build_workfiles_item():

def add_look_assigner_item():
import mayalookassigner
cmds.menuItem(divider=True, parent=pipeline._menu)
cmds.menuItem(
"Look assigner",
parent=pipeline._menu,
Expand All @@ -43,6 +42,9 @@ def add_look_assigner_item():

log.info("Attempting to install scripts menu..")

add_build_workfiles_item()
add_look_assigner_item()

try:
import scriptsmenu.launchformaya as launchformaya
import scriptsmenu.scriptsmenu as scriptsmenu
Expand All @@ -51,8 +53,6 @@ def add_look_assigner_item():
"Skipping studio.menu install, because "
"'scriptsmenu' module seems unavailable."
)
add_build_workfiles_item()
add_look_assigner_item()
return

# load configuration of custom menu
Expand Down

0 comments on commit 826f437

Please sign in to comment.