MetaFusion/Reference/SuperRiggingEditor/scripts/SGGetBlendShape.mel
2025-02-03 22:58:41 +08:00

22 lines
525 B
Plaintext

//******************************************************************************
//
// 版权所有: 玉溪时光科技有限公司
// 联系邮箱: q.100@qq.com
// 开发日期: 2023/08/08
//
//******************************************************************************
global proc string SGGetBlendShape (string $mesh){
string $history[]=`listHistory $mesh`;
string $blendShape;
for ($i=0;$i<size($history);$i++)
{
if (`objectType $history[$i]`=="blendShape"){
$blendShape = $history[$i];
break;
}
}
return $blendShape;
}