MetaFusion/Reference/SuperRiggingEditor/scripts/SGGetBlendShape.mel

22 lines
525 B
Plaintext
Raw Normal View History

2025-02-03 22:58:41 +08:00
//******************************************************************************
//
// <20><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD>: <20><>Ϫʱ<CFAA><CAB1><EFBFBD>Ƽ<EFBFBD><C6BC><EFBFBD><EFBFBD>޹<EFBFBD>˾
// <20><>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD>: q.100@qq.com
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: 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;
}