diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-03-22 17:43:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-22 17:43:50 +0100 |
| commit | 40405edfe1ab9735e33fd705b090dc467983611f (patch) | |
| tree | 1c475c7ab627a9959327fef8cba69815a5739397 /lib/extensions/cutwork_segmentation.py | |
| parent | ee14e4e28aed2abcfefe05980f7f35ace8634a1c (diff) | |
parent.remove -> delete (#3600)
Diffstat (limited to 'lib/extensions/cutwork_segmentation.py')
| -rw-r--r-- | lib/extensions/cutwork_segmentation.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/extensions/cutwork_segmentation.py b/lib/extensions/cutwork_segmentation.py index c041e359..73ba08d4 100644 --- a/lib/extensions/cutwork_segmentation.py +++ b/lib/extensions/cutwork_segmentation.py @@ -183,8 +183,7 @@ class CutworkSegmentation(InkstitchExtension): for element in self.elements: if isinstance(element, Stroke): - parent = element.node.getparent() - parent.remove(element.node) + element.node.delete() def path_style(self, element, color): # set stroke color and make it a running stitch - they don't want to cut zigzags |
