aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/out_flattener.cpp
diff options
context:
space:
mode:
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;
}