Fixed a bug in the SortByPType-step causing some models with bones to crash
Fixed a bug in PretransformVertices - vertex colors caused an infinite loop sometimes. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@241 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -360,7 +360,7 @@ void PretransformVertices::Execute( aiScene* pScene)
|
||||
}
|
||||
iFaces = 0;
|
||||
while ((*j) & (0x1000000 << iFaces))
|
||||
pcMesh->mColors[iFaces] = new aiColor4D[iVertices];
|
||||
pcMesh->mColors[iFaces++] = new aiColor4D[iVertices];
|
||||
|
||||
// fill the mesh ...
|
||||
unsigned int aiTemp[2] = {0,0};
|
||||
|
||||
Reference in New Issue
Block a user