fix type error for template deduction.
parent
232761be02
commit
c36b028412
|
@ -106,7 +106,7 @@ void LimitBoneWeightsProcess::ProcessMesh(aiMesh* pMesh)
|
||||||
typedef SmallVector<Weight,8> VertexWeightArray;
|
typedef SmallVector<Weight,8> VertexWeightArray;
|
||||||
typedef std::vector<VertexWeightArray> WeightsPerVertex;
|
typedef std::vector<VertexWeightArray> WeightsPerVertex;
|
||||||
WeightsPerVertex vertexWeights(pMesh->mNumVertices);
|
WeightsPerVertex vertexWeights(pMesh->mNumVertices);
|
||||||
unsigned int maxVertexWeights = 0;
|
size_t maxVertexWeights = 0;
|
||||||
|
|
||||||
for (unsigned int b = 0; b < pMesh->mNumBones; ++b)
|
for (unsigned int b = 0; b < pMesh->mNumBones; ++b)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue