From 89285232661c5de59ee0ee34527f698d4d37f927 Mon Sep 17 00:00:00 2001 From: kimmi Date: Thu, 25 Aug 2011 19:28:21 +0000 Subject: [PATCH] - Committed the patch of Makr Page: VertexTriangleAdjacency set member. - Updated CREDITS. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1072 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- CREDITS | 2 ++ code/VertexTriangleAdjacency.cpp | 1 + 2 files changed, 3 insertions(+) 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;