diff --git a/Maya/2022/prefs/shelves/shelf_DF_docs.mel b/Maya/2022/prefs/shelves/shelf_DF_docs.mel index bce8b17..a12d863 100644 --- a/Maya/2022/prefs/shelves/shelf_DF_docs.mel +++ b/Maya/2022/prefs/shelves/shelf_DF_docs.mel @@ -730,6 +730,41 @@ global proc shelf_DF_docs () { -commandRepeatable 1 -flat 1 ; + shelfButton + -enableCommandRepeat 1 + -flexibleWidthType 3 + -flexibleWidthValue 32 + -enable 1 + -width 35 + -height 34 + -manage 1 + -visible 1 + -preventOverride 0 + -annotation "Substance Painter to Maya Arnold" + -enableBackground 0 + -backgroundColor 0 0 0 + -highlightColor 0.321569 0.521569 0.65098 + -align "center" + -label "SubstancePaintertoMaya" + -labelOffset 0 + -rotation 0 + -flipX 0 + -flipY 0 + -useAlpha 1 + -font "plainLabelFont" + -imageOverlayLabel "2025" + -overlayLabelColor 0.8 0.8 0.8 + -overlayLabelBackColor 0 0 0 0.5 + -image "%USERPROFILE%/maya/prefs/icons/sp2.png" + -image1 "%USERPROFILE%/maya/prefs/icons/sp2.png" + -style "iconOnly" + -marginWidth 0 + -marginHeight 1 + -command "from SubstanceToMaya2025 import main\nfrom importlib import reload\nreload(main)\nmain.SPtoM()" + -sourceType "python" + -commandRepeatable 1 + -flat 1 + ; separator -enable 1 -width 34