aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/out_flattener.cpp
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-06-19 00:53:55 +0200
committerjaseg <git@jaseg.de>2022-06-19 00:53:55 +0200
commit31b5a77c8a574ad1eee7fe9ead0a1a8cd14989f6 (patch)
tree902da2d6310f061a109f3f94d1533f85b1fdde9b /svg-flatten/src/out_flattener.cpp
parent13b92b09474139676753862ec6d87df72c05f5dd (diff)
downloadgerbolyze-31b5a77c8a574ad1eee7fe9ead0a1a8cd14989f6.tar.gz
gerbolyze-31b5a77c8a574ad1eee7fe9ead0a1a8cd14989f6.tar.bz2
gerbolyze-31b5a77c8a574ad1eee7fe9ead0a1a8cd14989f6.zip
svg-flatten: Fix drill export
Diffstat (limited to 'svg-flatten/src/out_flattener.cpp')
-rw-r--r--svg-flatten/src/out_flattener.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/svg-flatten/src/out_flattener.cpp b/svg-flatten/src/out_flattener.cpp
index 0eae854..600584b 100644
--- a/svg-flatten/src/out_flattener.cpp
+++ b/svg-flatten/src/out_flattener.cpp
@@ -139,6 +139,8 @@ Flattener &Flattener::operator<<(GerberPolarityToken pol) {
if (pol == GRB_POL_DARK) {
render_out_clear_polys();
}
+
+ m_sink << pol;
}
return *this;
@@ -147,8 +149,6 @@ Flattener &Flattener::operator<<(GerberPolarityToken pol) {
Flattener &Flattener::operator<<(const LayerNameToken &layer_name) {
flush_polys_to_sink();
m_sink << layer_name;
- cerr << "Flattener forwarding layer name to sink: \"" << layer_name.m_name << "\"" << endl;
-
return *this;
}