aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/src/main.cpp
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-08-18 21:28:58 +0200
committerjaseg <git@jaseg.de>2021-08-18 21:28:58 +0200
commitfae8532b05b8c3cd79cd09a6b1986bc8ff9ad306 (patch)
tree8bb42fdb3da0ba13c74031b7ad6c277611bf34eb /svg-flatten/src/main.cpp
parentaaade1b168b3780a9c2ed1387165086ede33bc54 (diff)
downloadgerbolyze-fae8532b05b8c3cd79cd09a6b1986bc8ff9ad306.tar.gz
gerbolyze-fae8532b05b8c3cd79cd09a6b1986bc8ff9ad306.tar.bz2
gerbolyze-fae8532b05b8c3cd79cd09a6b1986bc8ff9ad306.zip
svg-flatten: Fix include/exclude logic
Diffstat (limited to 'svg-flatten/src/main.cpp')
-rw-r--r--svg-flatten/src/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/svg-flatten/src/main.cpp b/svg-flatten/src/main.cpp
index 54ce896..8512547 100644
--- a/svg-flatten/src/main.cpp
+++ b/svg-flatten/src/main.cpp
@@ -377,6 +377,15 @@ int main(int argc, char **argv) {
return EXIT_FAILURE;
}
+ /*
+ cerr << "Selectors:" << endl;
+ for (auto &elem : sel.include) {
+ cerr << " + " << elem << endl;
+ }
+ for (auto &elem : sel.exclude) {
+ cerr << " - " << elem << endl;
+ }
+ */
doc.render(rset, *top_sink, sel);
remove(frob.c_str());