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

Maya: Fix menu callbacks #2671

Merged
merged 1 commit into from
Feb 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions openpype/hosts/maya/api/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,17 @@ def deferred():

cmds.menuItem(
"Reset Frame Range",
command=reset_frame_range
command=lambda *args: reset_frame_range()
)

cmds.menuItem(
"Reset Resolution",
command=lib.reset_scene_resolution
command=lambda *args: lib.reset_scene_resolution()
)

cmds.menuItem(
"Set Colorspace",
command=lib.set_colorspace,
command=lambda *args: lib.set_colorspace(),
)
cmds.menuItem(divider=True, parent=MENU_NAME)
cmds.menuItem(
Expand Down