diff --git a/CREDITS b/CREDITS index b8683d56b..c85f5bc88 100644 --- a/CREDITS +++ b/CREDITS @@ -122,3 +122,5 @@ For contributing the De-bone postprocessing step and filing various bug reports. - Rosen Diankov Contributed patches to build assimp debian packages using cmake. +- Mark Page +Contributed a patch to fix the VertexTriangleAdjacency postprocessing step. diff --git a/code/VertexTriangleAdjacency.cpp b/code/VertexTriangleAdjacency.cpp index e4977e29f..327ca8c18 100644 --- a/code/VertexTriangleAdjacency.cpp +++ b/code/VertexTriangleAdjacency.cpp @@ -65,6 +65,7 @@ VertexTriangleAdjacency::VertexTriangleAdjacency(aiFace *pcFaces, iNumVertices = std::max(iNumVertices,pcFace->mIndices[1]); iNumVertices = std::max(iNumVertices,pcFace->mIndices[2]); } + this->iNumVertices = iNumVertices; } unsigned int* pi;