diff options
author | jaseg <git@jaseg.de> | 2022-06-19 00:53:55 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-06-19 00:53:55 +0200 |
commit | 31b5a77c8a574ad1eee7fe9ead0a1a8cd14989f6 (patch) | |
tree | 902da2d6310f061a109f3f94d1533f85b1fdde9b /svg-flatten/src/out_flattener.cpp | |
parent | 13b92b09474139676753862ec6d87df72c05f5dd (diff) | |
download | gerbolyze-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.cpp | 4 |
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; } |