Remove dead code

pull/1965/head
Daniel Löber 2018-05-16 11:10:48 +02:00
parent 46ed73c768
commit 9e80e18b1a
1 changed files with 1 additions and 7 deletions

View File

@ -286,14 +286,8 @@ evil_jump_outside:
if (!mesh->mNumFaces) {
//The whole mesh consists of degenerated faces
//signal upward, that this mesh should be deleted.
ASSIMP_LOG_DEBUG("FindDegeneratesProcess removed a mesh full of degenerated primitives");
return true;
// WTF!?
// OK ... for completeness and because I'm not yet tired,
// let's write code that will hopefully never be called
// (famous last words)
// OK ... bad idea.
throw DeadlyImportError("Mesh is empty after removal of degenerated primitives ... WTF!?");
}
}