summaryrefslogtreecommitdiff
path: root/lib/stitches/utils/autoroute.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stitches/utils/autoroute.py')
-rw-r--r--lib/stitches/utils/autoroute.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/stitches/utils/autoroute.py b/lib/stitches/utils/autoroute.py
index ed07c9a4..a83e8002 100644
--- a/lib/stitches/utils/autoroute.py
+++ b/lib/stitches/utils/autoroute.py
@@ -230,11 +230,12 @@ def remove_from_parent(node):
node.getparent().remove(node)
-def create_new_group(parent, insert_index, label):
+def create_new_group(parent, insert_index, label, correction_transform=True):
group = inkex.Group(attrib={
INKSCAPE_LABEL: label,
- "transform": get_correction_transform(parent, child=True)
})
+ if correction_transform:
+ group.transform = get_correction_transform(parent, child=True)
parent.insert(insert_index, group)
return group