mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-06 00:06:02 +08:00
Fixed typo in assert
This commit is contained in:
parent
4d13c67baa
commit
ca73765ad7
@ -102,7 +102,7 @@ OBJ::read(std::string input_file, Model* model)
|
||||
std::vector<Point3> facets;
|
||||
|
||||
// Read vertices.
|
||||
assert((shape->mesh.vertices.size() % 3) == 0);
|
||||
assert((attrib.vertices.size() % 3) == 0);
|
||||
for (size_t v = 0; v < attrib.vertices.size(); v += 3) {
|
||||
points.push_back(Pointf3(
|
||||
attrib.vertices[v],
|
||||
|
Loading…
x
Reference in New Issue
Block a user