Skip to content

Commit

Permalink
Merge pull request #3404 from Autodesk/bailp/EMSUSD-715/missing-conte…
Browse files Browse the repository at this point in the history
…xt-menu

EMSUSD-715 fix context menu in viewport
  • Loading branch information
seando-adsk authored Oct 24, 2023
2 parents 20e20c8 + c5ecfd7 commit de187e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugin/adsk/scripts/USDMenuProc.mel
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ global proc USDMenuProc(string $parent, string $obj)
{
$obj = expandToSelection($obj);

popupMenu -e -dai $parent;
setParent -menu $parent;

python("import maya.app.ufe.outlinerSupport; maya.app.ufe.outlinerSupport.buildNonMayaContextMenu('''" + $obj + "''')");

// Allow the user to define a proc with additional menu items
Expand Down

0 comments on commit de187e8

Please sign in to comment.