aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViatrix2026-03-17 16:52:28 -0700
committerViatrix2026-03-17 16:52:28 -0700
commitd3a80223412f8496433305f2cf681df1ac26966f (patch)
treef45fe45794c827129edca96dacc5b4812f3a12e8
parentab7e3413fc690b9645974c2d50b34493cb03a373 (diff)
Whoops forgot to remove this debug line
-rw-r--r--imagemap.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/imagemap.py b/imagemap.py
index 2a487a1..42c1d4a 100644
--- a/imagemap.py
+++ b/imagemap.py
@@ -129,7 +129,6 @@ class ImageMap(inkex.OutputExtension):
+''.join(f'select-clear;select-by-selector:[style~="{CSS_LINK_INDEX}-{i}"];object-stroke-to-path;selection-ungroup;path-union;select-by-id:{rects[i]};path-intersection;object-set-attribute:style,{CSS_LINK_INDEX}:" {CSS_LINK_INDEX}-{i} ";' for i in range(len(links))) \
+'select-all;path-flatten;path-split'
# (we re-set the existing style attribute in case it got unset on non-paths)
- from lxml import etree
newbytes=inkscape_command(self.svg,actions=command)
self.svg=self.load(newbytes).getroot()
# preprocessing done, now for map generation