mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 23:10:40 +08:00
Also close the file when we're done writing to it.
This commit is contained in:
parent
6e283f6914
commit
976bb5518e
@ -299,6 +299,9 @@ SLAPrint::write_svg(const std::string &outputfile) const
|
|||||||
fprintf(f,"</svg>\n");
|
fprintf(f,"</svg>\n");
|
||||||
// Ensure that the output gets written.
|
// Ensure that the output gets written.
|
||||||
fflush(f);
|
fflush(f);
|
||||||
|
|
||||||
|
// Close the file.
|
||||||
|
fclose(f);
|
||||||
}
|
}
|
||||||
|
|
||||||
coordf_t
|
coordf_t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user