close stl files with endsolid
refs #1713 git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@900 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user