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