diff options
Diffstat (limited to 'embroider.py')
| -rw-r--r-- | embroider.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embroider.py b/embroider.py index e0c489e4..265cbe0f 100644 --- a/embroider.py +++ b/embroider.py @@ -1763,7 +1763,7 @@ class Embroider(inkex.Effect): patches = elements_to_patches(self.elements) stitches = patches_to_stitches(patches, self.options.collapse_length_mm * PIXELS_PER_MM) - inkstitch.write_embroidery_file(self.get_output_path(), stitches) + inkstitch.write_embroidery_file(self.get_output_path(), stitches, self.document.getroot()) new_layer = inkex.etree.SubElement(self.document.getroot(), SVG_GROUP_TAG, {}) new_layer.set('id', self.uniqueId("embroidery")) |
