Added missing pointer to NULL assignment in PretransformVertices.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@187 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
aramis_acg 2008-10-19 21:17:01 +00:00
parent c0148c090f
commit 094ed7b9c0
1 changed files with 1 additions and 0 deletions

View File

@ -385,6 +385,7 @@ void PretransformVertices::Execute( aiScene* pScene)
// now delete all meshes in the scene and build a new mesh list
for (unsigned int i = 0; i < pScene->mNumMeshes;++i)
{
pScene->mMeshes[i]->mBones = NULL;
delete pScene->mMeshes[i];
// invalidate the contents of the old mesh array. We will most