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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user