Removed: Commented out code bit.

This commit is contained in:
Foxar
2020-12-17 15:49:31 +01:00
parent 607c2abc0c
commit 3c827a407b
-10
View File
@@ -134,17 +134,7 @@ void ObjLoader::load(MeshFrame *o_result, char *t_filename, float t_scale, u8 t_
PRINT_ERR("Unknown faces format in .obj file!"); PRINT_ERR("Unknown faces format in .obj file!");
break; break;
} }
/* if(ferror(file))
PRINT_ERR("Failed to load .obj file \"%s\".");
else
{
int result=0;
char line [128]={'\0'};
fgets(line,128,file);
//if(fscanf
}*/
if (matches == 9) if (matches == 9)
{ {
o_result->getMaterial(materialsI).setVertexFace(faceI, vertexIndex[0] - 1); o_result->getMaterial(materialsI).setVertexFace(faceI, vertexIndex[0] - 1);