aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svg-flatten/src/svg_doc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/svg-flatten/src/svg_doc.cpp b/svg-flatten/src/svg_doc.cpp
index 865086f..639d7fa 100644
--- a/svg-flatten/src/svg_doc.cpp
+++ b/svg-flatten/src/svg_doc.cpp
@@ -400,6 +400,7 @@ void gerbolyze::SVGDocument::render(const RenderSettings &rset, PolygonSink &sin
xform2d xf;
export_svg_group(xf, rset, root_elem, vb_paths, sel, false, true);
scaler.footer();
+ polygon_sink = nullptr;
}
void gerbolyze::SVGDocument::render_to_list(const RenderSettings &rset, vector<pair<Polygon, GerberPolarityToken>> &out, const ElementSelector *sel) {