1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-28 10:45:50 +00:00

3mf export - Do not export unneeded space

This commit is contained in:
enricoturri1966
2021-01-27 15:53:44 +01:00
parent d68489c7d7
commit b178a1b04f
+2
View File
@@ -2550,6 +2550,7 @@ namespace Slic3r {
std::string custom_supports_data_string = volume->supported_facets.get_triangle_as_string(i); std::string custom_supports_data_string = volume->supported_facets.get_triangle_as_string(i);
if (! custom_supports_data_string.empty()) { if (! custom_supports_data_string.empty()) {
output_buffer += " ";
output_buffer += CUSTOM_SUPPORTS_ATTR; output_buffer += CUSTOM_SUPPORTS_ATTR;
output_buffer += "=\""; output_buffer += "=\"";
output_buffer += custom_supports_data_string; output_buffer += custom_supports_data_string;
@@ -2558,6 +2559,7 @@ namespace Slic3r {
std::string custom_seam_data_string = volume->seam_facets.get_triangle_as_string(i); std::string custom_seam_data_string = volume->seam_facets.get_triangle_as_string(i);
if (! custom_seam_data_string.empty()) { if (! custom_seam_data_string.empty()) {
output_buffer += " ";
output_buffer += CUSTOM_SEAM_ATTR; output_buffer += CUSTOM_SEAM_ATTR;
output_buffer += "=\""; output_buffer += "=\"";
output_buffer += custom_seam_data_string; output_buffer += custom_seam_data_string;