- remove aiAssert, use a plain assert instead. This removes the exit() call in Assimp.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@943 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2011-04-06 12:06:40 +00:00
parent 2e2cb8ea79
commit 2c83543b39
5 changed files with 4 additions and 94 deletions

View File

@@ -87,7 +87,7 @@ AI_WONT_RETURN void ValidateDSProcess::ReportError(const char* msg,...)
va_end(args);
#ifdef _DEBUG
aiAssert( szBuffer,__LINE__,__FILE__ );
ai_assert( false );
#endif
throw DeadlyImportError("Validation failed: " + std::string(szBuffer,iLen));
}