mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-07-18 03:24:15 -04:00
Fixed #272
This commit is contained in:
@ -574,6 +574,7 @@ namespace AssetStudio
|
||||
if (hasBones)
|
||||
{
|
||||
FbxSkin* pSkin = FbxSkin::Create(pScene, "");
|
||||
FbxAMatrix lMeshMatrix = pMeshNode->EvaluateGlobalTransform();
|
||||
for (int j = 0; j < boneList->Count; j++)
|
||||
{
|
||||
FbxCluster* pCluster = pClusterArray->GetAt(j);
|
||||
@ -589,8 +590,6 @@ namespace AssetStudio
|
||||
}
|
||||
}
|
||||
|
||||
FbxAMatrix lMeshMatrix = pMeshNode->EvaluateGlobalTransform();
|
||||
|
||||
pCluster->SetTransformMatrix(lMeshMatrix);
|
||||
pCluster->SetTransformLinkMatrix(lMeshMatrix * lBoneMatrix.Inverse());
|
||||
|
||||
|
Reference in New Issue
Block a user