Remove GLTF tag, postprocessing is format independent

pull/3787/head
Max Vollmer (Microsoft Havok) 2021-04-21 16:20:58 +01:00
parent 746d5cf964
commit 44dc08f128
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ void SortByPTypeProcess::Execute(aiScene *pScene) {
for (unsigned int i = 0; i < pScene->mNumMeshes; ++i) {
aiMesh *const mesh = pScene->mMeshes[i];
if (mesh->mPrimitiveTypes == 0) {
throw DeadlyImportError("GLTF: Mesh with invalid primitive type: ", mesh->mName.C_Str());
throw DeadlyImportError("Mesh with invalid primitive type: ", mesh->mName.C_Str());
}
// if there's just one primitive type in the mesh there's nothing to do for us