aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/svg_doc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'svg-flatten/src/svg_doc.cpp')
-rw-r--r--svg-flatten/src/svg_doc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/svg-flatten/src/svg_doc.cpp b/svg-flatten/src/svg_doc.cpp
index 6cb6138..47e73ee 100644
--- a/svg-flatten/src/svg_doc.cpp
+++ b/svg-flatten/src/svg_doc.cpp
@@ -530,9 +530,9 @@ void gerbolyze::SVGDocument::export_svg_path(RenderContext &ctx, const pugi::xml
Paths s_polys;
dehole_polytree(ptree, s_polys);
ctx.mat().doc2phys_clipper(s_polys);
- /* color has alredy been pushed above. */
+ /* color has already been pushed above. */
//cerr << " sinking " << s_polys.size() << " paths" << endl;
- ctx.sink() << ApertureToken() << s_polys;
+ ctx.sink() << (stroke_color == GRB_DARK ? GRB_POL_DARK : GRB_POL_CLEAR) << ApertureToken() << s_polys;
}
}
}