add assert-test for nullptr.
parent
3329e76263
commit
514593548d
|
@ -65,7 +65,7 @@ using namespace Assimp::Formatter;
|
|||
BlenderBMeshConverter::BlenderBMeshConverter(const Mesh *mesh) :
|
||||
BMesh(mesh),
|
||||
triMesh(nullptr) {
|
||||
// empty
|
||||
ai_assert(nullptr != mesh);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue