Added missing pointer to NULL assignment in PretransformVertices.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@187 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
c0148c090f
commit
094ed7b9c0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue