summaryrefslogtreecommitdiff
path: root/lib/stitches/fill.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stitches/fill.py')
-rw-r--r--lib/stitches/fill.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stitches/fill.py b/lib/stitches/fill.py
index 94df3f77..d5a983f9 100644
--- a/lib/stitches/fill.py
+++ b/lib/stitches/fill.py
@@ -162,7 +162,7 @@ def intersect_region_with_grating(shape, angle, row_spacing, end_row_spacing=Non
runs.reverse()
runs = [tuple(reversed(run)) for run in runs]
- yield from runs
+ yield runs
if end_row_spacing:
current_row_y += row_spacing + \
@@ -225,6 +225,7 @@ def pull_runs(rows, shape, row_spacing):
# print >>sys.stderr, "\n".join(str(len(row)) for row in rows)
+ rows = list(rows)
runs = []
count = 0
while (len(rows) > 0):