Commit 7f654f68 authored by Mike Kremer's avatar Mike Kremer
Browse files

Add empty mesh when reading empty stl file.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@399 fdac6126-5c0c-442c-9429-916003d36597
parent 7528d961
......@@ -246,12 +246,9 @@ read_stla(const std::string& _filename, BaseImporter& _bi) const
}
}
fclose(in);
// In general a file has data, there the number of vertices cannot be 0.
return _bi.n_vertices() != 0;
return true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment