diff --git a/pype/maya/customize.py b/pype/maya/customize.py index 872942bfd9..61d7c283d2 100644 --- a/pype/maya/customize.py +++ b/pype/maya/customize.py @@ -78,6 +78,8 @@ def override_toolbox_ui(): import avalon.tools.cbsceneinventory as inventory import avalon.tools.cbloader as loader from avalon.maya.pipeline import launch_workfiles_app + import mayalookassigner + # Ensure the maya web icon on toolbox exists web_button = "ToolBox|MainToolboxLayout|mayaWebButton" @@ -98,6 +100,18 @@ def override_toolbox_ui(): background_color = (0.267, 0.267, 0.267) controls = [] + control = mc.iconTextButton( + "pype_toolbox_lookmanager", + annotation="Look Manager", + label="Look Manager", + image=os.path.join(icons, "lookmanager.png"), + command=lambda: mayalookassigner.show(), + bgc=background_color, + width=icon_size, + height=icon_size, + parent=parent) + controls.append(control) + control = mc.iconTextButton( "pype_toolbox_workfiles", annotation="Work Files", diff --git a/res/icons/Thumbs.db b/res/icons/Thumbs.db new file mode 100644 index 0000000000..fa56c871f6 Binary files /dev/null and b/res/icons/Thumbs.db differ diff --git a/res/icons/lookmanager.png b/res/icons/lookmanager.png new file mode 100644 index 0000000000..9ed1d3db8e Binary files /dev/null and b/res/icons/lookmanager.png differ