fixed bug

This commit is contained in:
Perfare 2019-07-27 18:01:57 +08:00
parent e9e8390bbc
commit 1cf59e8d67

View File

@ -539,8 +539,6 @@ namespace AssetStudio
for (int j = 0; j < boneList->Count; j++)
{
FbxCluster* pCluster = pClusterArray->GetAt(j);
if (pCluster->GetControlPointIndicesCount() > 0)
{
auto boneMatrix = boneList[j]->Matrix;
FbxAMatrix lBoneMatrix;
for (int m = 0; m < 4; m++)
@ -556,7 +554,6 @@ namespace AssetStudio
pSkin->AddCluster(pCluster);
}
}
if (pSkin->GetClusterCount() > 0)
{