// =========================================================================== // Copyright 2018 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies this software in either electronic or hard copy form. // =========================================================================== // // Procedure Name: // AEblendShapeTemplate // // Description Name; // Creates the attribute editor controls for the blendShape node // // Input Value: // nodeName // // Output Value: // None // global proc AEblendShapeTemplate( string $nodeName ) { editorTemplate -beginScrollLayout; editorTemplate -beginLayout (uiRes("m_AEblendShapeTemplate.kBlendShapeAttributes")) -collapse false; editorTemplate -addControl "origin"; editorTemplate -endLayout; editorTemplate -beginLayout (uiRes("m_AEblendShapeTemplate.kWeight")) -collapse false; editorTemplate -callCustom "AEblendShapeAttrNew" "AEblendShapeAttrReplace" "weight"; editorTemplate -addControl "supportNegativeWeights"; editorTemplate -endLayout; // include/call base class/node attributes AEgeometryFilterCommon $nodeName; AEgeometryFilterInclude $nodeName; editorTemplate -addExtraControls; editorTemplate -endScrollLayout; editorTemplate -suppress "topologyCheck"; editorTemplate -suppress "inputTarget"; editorTemplate -suppress "baseOrigin"; editorTemplate -suppress "targetOrigin"; editorTemplate -suppress "icon"; editorTemplate -suppress "paintWeights"; editorTemplate -suppress "deformationOrder"; }