mirror of https://github.com/CGAL/cgal
Bugfix: OFF reader should accept comments and empty lines
This commit is contained in:
parent
4ae7b72bd7
commit
30c352f025
|
|
@ -95,6 +95,11 @@ read_off_points_and_normals(
|
|||
{
|
||||
iss.clear();
|
||||
iss.str(line);
|
||||
|
||||
// Ignore empty lines and comments
|
||||
if (line.empty () || line[0] == '#')
|
||||
continue;
|
||||
|
||||
lineNumber++;
|
||||
|
||||
// Reads file signature on first line
|
||||
|
|
|
|||
Loading…
Reference in New Issue