Flush the output buffer when writing svg files from PrintSLA.cpp.

Fixes #4311
This commit is contained in:
Joseph Lenox 2018-02-24 20:36:08 -06:00
parent d3a3d6d620
commit 6e283f6914

View File

@ -297,6 +297,8 @@ SLAPrint::write_svg(const std::string &outputfile) const
fprintf(f,"\t</g>\n");
}
fprintf(f,"</svg>\n");
// Ensure that the output gets written.
fflush(f);
}
coordf_t