Commit 49125a05 authored by Matthias Möller's avatar Matthias Möller

close stl files with endsolid

refs #1713

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@900 fdac6126-5c0c-442c-9429-916003d36597
parent fe2e0477
......@@ -188,7 +188,7 @@ write_stla(const std::string& _filename, BaseExporter& _be, Options /* _opt */)
fprintf(out, "\nendloop\nendfacet\n");
}
fprintf(out, "endsolid\n");
fclose(out);
......@@ -243,6 +243,8 @@ write_stla(std::ostream& _out, BaseExporter& _be, Options /* _opt */, std::strea
_out << "\nendloop\nendfacet\n";
}
_out << "endsolid\n";
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