- 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user