summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/stitches/auto_satin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stitches/auto_satin.py b/lib/stitches/auto_satin.py
index 75b13176..4ce356ce 100644
--- a/lib/stitches/auto_satin.py
+++ b/lib/stitches/auto_satin.py
@@ -201,7 +201,7 @@ class RunningStitch(object):
# Technically a Stroke object's underlying path could have multiple
# subpaths. We don't have a particularly good way of dealing with
# that so we'll just use the first one.
- self.path = path_or_stroke.shape.geoms[0]
+ self.path = shgeo.LineString(path_or_stroke.paths[0])
original_element = path_or_stroke
else:
self.path = path_or_stroke