Fixed: Missing break; in obj faces format recognition.

This commit is contained in:
Foxar
2020-12-17 17:12:56 +01:00
parent 2d1d36ddcc
commit 249c2431a2
+2
View File
@@ -79,6 +79,7 @@ void ObjLoader::load(MeshFrame *o_result, char *t_filename, float t_scale, u8 t_
fsetpos(file, &start);
int newerMatches = 0;
//return;
switch (matches)
{
/** Vs, VTs and VNs all set */
@@ -129,6 +130,7 @@ void ObjLoader::load(MeshFrame *o_result, char *t_filename, float t_scale, u8 t_
PRINT_ERR("Unknown .obj face for .obj file!");
}
}
break;
}
default:
PRINT_ERR("Unknown faces format in .obj file!");