fix type error for template deduction.

This commit is contained in:
Kim Kulling
2020-04-21 16:39:18 +02:00
committed by GitHub
parent 232761be02
commit c36b028412

View File

@@ -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)
{