Fixing "opening an obj file causes Slic3r to become stuck and use 100% on one core" #221
Extended the OBJ parser to triangulate quads. Higher order polygons are not supported though.
This commit is contained in:
@@ -346,8 +346,8 @@ bool objparse(const char *path, ObjData &data)
|
||||
}
|
||||
::fclose(pFile);
|
||||
|
||||
printf("vertices: %d\r\n", data.vertices.size() / 4);
|
||||
printf("coords: %d\r\n", data.coordinates.size());
|
||||
// printf("vertices: %d\r\n", data.vertices.size() / 4);
|
||||
// printf("coords: %d\r\n", data.coordinates.size());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user