From 094ed7b9c0c20d69374ea9ff46684a9229c3d048 Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Sun, 19 Oct 2008 21:17:01 +0000 Subject: [PATCH] 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 --- code/PretransformVertices.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/PretransformVertices.cpp b/code/PretransformVertices.cpp index 5ec467139..46d570300 100644 --- a/code/PretransformVertices.cpp +++ b/code/PretransformVertices.cpp @@ -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