summaryrefslogtreecommitdiff
path: root/embroider.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-02-27 23:14:14 -0500
committerLex Neva <github.com@lexneva.name>2018-02-27 23:14:14 -0500
commitbc5357bc5a17ce6537c4277571ac1bc27b047036 (patch)
tree33c34a4d73355f90c960e1300795e625d827a864 /embroider.py
parent0e2e15972145e421ba33231082b1c20fa33dc318 (diff)
fix stroke regression
Diffstat (limited to 'embroider.py')
-rw-r--r--embroider.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/embroider.py b/embroider.py
index eb822bae..eeab5854 100644
--- a/embroider.py
+++ b/embroider.py
@@ -936,6 +936,7 @@ class Stroke(EmbroideryElement):
return self.dashed or self.width <= 0.5
def stroke_points(self, emb_point_list, zigzag_spacing, stroke_width):
+ patch = Patch(color=self.color)
p0 = emb_point_list[0]
rho = 0.0
side = 1