mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-26 13:50:21 -04:00
fixed bug
This commit is contained in:
parent
e9e8390bbc
commit
1cf59e8d67
@ -539,8 +539,6 @@ namespace AssetStudio
|
|||||||
for (int j = 0; j < boneList->Count; j++)
|
for (int j = 0; j < boneList->Count; j++)
|
||||||
{
|
{
|
||||||
FbxCluster* pCluster = pClusterArray->GetAt(j);
|
FbxCluster* pCluster = pClusterArray->GetAt(j);
|
||||||
if (pCluster->GetControlPointIndicesCount() > 0)
|
|
||||||
{
|
|
||||||
auto boneMatrix = boneList[j]->Matrix;
|
auto boneMatrix = boneList[j]->Matrix;
|
||||||
FbxAMatrix lBoneMatrix;
|
FbxAMatrix lBoneMatrix;
|
||||||
for (int m = 0; m < 4; m++)
|
for (int m = 0; m < 4; m++)
|
||||||
@ -556,7 +554,6 @@ namespace AssetStudio
|
|||||||
|
|
||||||
pSkin->AddCluster(pCluster);
|
pSkin->AddCluster(pCluster);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (pSkin->GetClusterCount() > 0)
|
if (pSkin->GetClusterCount() > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user