Invalid empty SVG file

This commit is contained in:
Thomas Krijnen
2017-10-23 13:58:07 +02:00
parent 095801faa1
commit c5495d83e4
+3 -1
View File
@@ -321,7 +321,9 @@ void SvgSerializer::finalize() {
first = false;
}
svg_file << " </g>\n";
if (!first) {
svg_file << " </g>\n";
}
svg_file << "</svg>" << std::endl;
}