mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 10:45:52 +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;
|
std::vector<Point3> facets;
|
||||||
|
|
||||||
// Read vertices.
|
// 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) {
|
for (size_t v = 0; v < attrib.vertices.size(); v += 3) {
|
||||||
points.push_back(Pointf3(
|
points.push_back(Pointf3(
|
||||||
attrib.vertices[v],
|
attrib.vertices[v],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user