- consistent use of ai_assert instead of assert.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1241 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2012-04-22 23:22:40 +00:00
parent adfef670cc
commit ec6c62e005
8 changed files with 16 additions and 17 deletions

View File

@@ -355,7 +355,7 @@ void XFileImporter::CreateMeshes( aiScene* pScene, aiNode* pNode, const std::vec
}
// there should be as much new vertices as we calculated before
assert( newIndex == numVertices);
ai_assert( newIndex == numVertices);
// convert all bones of the source mesh which influence vertices in this newly created mesh
const std::vector<XFile::Bone>& bones = sourceMesh->mBones;