Browse Source

fix type error for template deduction.

Kim Kulling 5 năm trước cách đây
mục cha
commit
c36b028412
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      code/PostProcessing/LimitBoneWeightsProcess.cpp

+ 1 - 1
code/PostProcessing/LimitBoneWeightsProcess.cpp

@@ -106,7 +106,7 @@ void LimitBoneWeightsProcess::ProcessMesh(aiMesh* pMesh)
     typedef SmallVector<Weight,8> VertexWeightArray;
     typedef std::vector<VertexWeightArray> WeightsPerVertex;
     WeightsPerVertex vertexWeights(pMesh->mNumVertices);
-    unsigned int maxVertexWeights = 0;
+    size_t maxVertexWeights = 0;
 
     for (unsigned int b = 0; b < pMesh->mNumBones; ++b)
     {