- REFACTORING : Replace an assert by an ai_assert-statement.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@722 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
kimmi 2010-05-13 15:50:42 +00:00
parent 55bdc6db63
commit 3b35e4e3b8
1 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ void ObjFileImporter::CreateDataFromImport(const ObjFile::Model* pModel, aiScene
else
{
// This is an error, so break down the application
ai_assert (false);
ai_assert(false);
}
// Create nodes for the whole scene
@ -325,7 +325,7 @@ void ObjFileImporter::createVertexArray(const ObjFile::Model* pModel,
for ( size_t vertexIndex = 0; vertexIndex < pSourceFace->m_pVertices->size(); vertexIndex++ )
{
unsigned int vertex = pSourceFace->m_pVertices->at( vertexIndex );
assert ( vertex < pModel->m_Vertices.size() );
ai_assert( vertex < pModel->m_Vertices.size() );
pMesh->mVertices[ newIndex ] = pModel->m_Vertices[ vertex ];
// Copy all normals