From d3a80223412f8496433305f2cf681df1ac26966f Mon Sep 17 00:00:00 2001 From: Viatrix Date: Tue, 17 Mar 2026 16:52:28 -0700 Subject: Whoops forgot to remove this debug line --- imagemap.py | 1 - 1 file changed, 1 deletion(-) 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 -- cgit