Skip to content
Snippets Groups Projects
Commit 563ed545 authored by Julius Nehring-Wirxel's avatar Julius Nehring-Wirxel
Browse files

Ignore face colors.

parent 352cdbcf
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,9 @@ bool read_off(std::istream& input, Mesh& mesh, vertex_attribute<std::array<Scala
vs[vi] = mesh[vertex_index(v)];
}
// ignore face colors
input.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
if (!mesh.faces().can_add(vs))
{
++non_manifold;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment