Skip to content

Commit

Permalink
Merge pull request #1145 from Autodesk/donnels/MAYA-109438/remove_att…
Browse files Browse the repository at this point in the history
…ributes_from_proxy_shape_template

MAYA-109438 - Need to remove attributes from AE stage view
  • Loading branch information
Krystian Ligenza authored Feb 4, 2021
2 parents d0f47f2 + b7b7d6a commit 8c35228
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions plugin/adsk/scripts/AEmayaUsdProxyShapeTemplate.mel
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,16 @@ global proc AEmayaUsdProxyShapeTemplate( string $nodeName )
editorTemplate -suppress "stageCacheId";
editorTemplate -suppress "outStageCacheId";

// MAYA-109438 - temp suppress these non-functional attributes.
editorTemplate -suppress "primPath";
editorTemplate -suppress "loadPayloads";

editorTemplate -beginLayout "Stage" -collapse 0;
// We aren't displaying the "inStageData" attribute in the ProxyShapeInfo. We simply
// pass it in order to get the current nodename. Cannot use the input one here as it
// changes based on which proxy shape the AE is viewing.
editorTemplate -callCustom "AEmayaUsdProxyShapeInfoNew" "AEmayaUsdProxyShapeInfoReplace" inStageData;
editorTemplate -addControl "loadPayloads";
//editorTemplate -addControl "loadPayloads";
editorTemplate -endLayout;

editorTemplate -beginLayout "Stage Source" -collapse 0;
Expand All @@ -56,7 +60,7 @@ global proc AEmayaUsdProxyShapeTemplate( string $nodeName )
editorTemplate -addControl "drawGuidePurpose";
editorTemplate -addControl "drawProxyPurpose";
editorTemplate -addControl "drawRenderPurpose";
editorTemplate -addControl "primPath";
//editorTemplate -addControl "primPath";
editorTemplate -addControl "excludePrimPaths";
editorTemplate -endLayout;

Expand Down

0 comments on commit 8c35228

Please sign in to comment.