add assert-test for nullptr.

pull/3197/head
Kim Kulling 2020-05-02 21:07:41 +02:00
parent 3329e76263
commit 514593548d
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ using namespace Assimp::Formatter;
BlenderBMeshConverter::BlenderBMeshConverter(const Mesh *mesh) :
BMesh(mesh),
triMesh(nullptr) {
// empty
ai_assert(nullptr != mesh);
}
// ------------------------------------------------------------------------------------------------