Remove GLTF tag, postprocessing is format independent
parent
746d5cf964
commit
44dc08f128
|
@ -136,7 +136,7 @@ void SortByPTypeProcess::Execute(aiScene *pScene) {
|
||||||
for (unsigned int i = 0; i < pScene->mNumMeshes; ++i) {
|
for (unsigned int i = 0; i < pScene->mNumMeshes; ++i) {
|
||||||
aiMesh *const mesh = pScene->mMeshes[i];
|
aiMesh *const mesh = pScene->mMeshes[i];
|
||||||
if (mesh->mPrimitiveTypes == 0) {
|
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
|
// if there's just one primitive type in the mesh there's nothing to do for us
|
||||||
|
|
Loading…
Reference in New Issue