Fix build: use ai_assert instead of assert.
authorKim Kulling <kim.kulling@googlemail.com>
Tue, 22 Nov 2016 20:17:47 +0000 (21:17 +0100)
committerKim Kulling <kim.kulling@googlemail.com>
Tue, 22 Nov 2016 20:17:47 +0000 (21:17 +0100)
code/Assimp.cpp

index c28da95..092c409 100644 (file)
@@ -150,7 +150,7 @@ void ReportSceneNotFoundError()
     DefaultLogger::get()->error("Unable to find the Assimp::Importer for this aiScene. "
         "The C-API does not accept scenes produced by the C++ API and vice versa");
 
-    assert(false);
+    ai_assert(false);
 }
 
 // ------------------------------------------------------------------------------------------------