Explorar el Código

- 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

kimmi hace 14 años
padre
commit
8928523266
Se han modificado 2 ficheros con 3 adiciones y 0 borrados
  1. 2 0
      CREDITS
  2. 1 0
      code/VertexTriangleAdjacency.cpp

+ 2 - 0
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.

+ 1 - 0
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;