Changed AI_LMW_MAX_WEIGHTS*2 to 8 which is same thing.
parent
d5d30c898b
commit
f0243cc7f3
|
@ -103,7 +103,7 @@ void LimitBoneWeightsProcess::ProcessMesh(aiMesh* pMesh)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// collect all bone weights per vertex
|
// collect all bone weights per vertex
|
||||||
typedef SmallVector<Weight,AI_LMW_MAX_WEIGHTS*2> 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;
|
unsigned int maxVertexWeights = 0;
|
||||||
|
|
Loading…
Reference in New Issue