浏览代码

eTotalOne is strictly a subset of aNormalize.

Par Winzell 6 年之前
父节点
当前提交
a07cabd1ec
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/fbx/FbxSkinningAccess.cpp

+ 3 - 1
src/fbx/FbxSkinningAccess.cpp

@@ -28,7 +28,9 @@ FbxSkinningAccess::FbxSkinningAccess(const FbxMesh* pMesh, FbxScene* pScene, Fbx
         const int* clusterIndices = cluster->GetControlPointIndices();
         const double* clusterWeights = cluster->GetControlPointWeights();
 
-        assert(cluster->GetLinkMode() == FbxCluster::eNormalize);
+        assert(
+            cluster->GetLinkMode() == FbxCluster::eNormalize ||
+            cluster->GetLinkMode() == FbxCluster::eTotalOne);
 
         // Transform link matrix.
         FbxAMatrix transformLinkMatrix;