From ab528be4403089ab199b0f60c20bf3efb8483305 Mon Sep 17 00:00:00 2001 From: leyghisbb Date: Mon, 26 Apr 2021 18:10:19 +0200 Subject: [PATCH] fixed style copy --- extensions/fablabchemnitz/export_selection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/fablabchemnitz/export_selection.py b/extensions/fablabchemnitz/export_selection.py index 93b5d78e..a66cb227 100644 --- a/extensions/fablabchemnitz/export_selection.py +++ b/extensions/fablabchemnitz/export_selection.py @@ -79,6 +79,7 @@ class ExportObject(inkex.EffectExtension): for elem in self.svg.selected.values(): elem_copy = deepcopy(elem) elem_copy.attrib['transform'] = str(elem.composed_transform()) + elem_copy.attrib['style'] = str(elem.composed_style()) group.append(elem_copy) template.attrib['viewBox'] = f'{-offset} {-offset} {bbox.width + offset * 2} {bbox.height + offset * 2}'