summaryrefslogtreecommitdiff
path: root/lib/stitches/auto_satin.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2020-01-31 20:09:39 -0500
committerGitHub <noreply@github.com>2020-01-31 20:09:39 -0500
commit6873098dee594a302a432167635866e1da08c6c9 (patch)
tree6885ae163dd5ddb12533b719023c6c081b5c9d6b /lib/stitches/auto_satin.py
parent7b8a5a2c25cd1780ceb3bac1e01ed538cedac61d (diff)
parent1f7c6a6c291545c0e361c071b933310a670ae372 (diff)
Merge pull request #524 from inkstitch/lexelby/fix-auto-satin
fix 'LineString has no method geoms' error
Diffstat (limited to 'lib/stitches/auto_satin.py')
-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