diff options
Diffstat (limited to 'imagemap.py')
| -rw-r--r-- | imagemap.py | 1 |
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 |
