From e989a7bd74ba3a4e9c352b5f8381a92ca4a7e1f2 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sat, 2 Oct 2021 21:42:02 +0200 Subject: Fix ties (#1365) --- lib/stitch_plan/color_block.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/stitch_plan/color_block.py b/lib/stitch_plan/color_block.py index 86edaff2..10d199c2 100644 --- a/lib/stitch_plan/color_block.py +++ b/lib/stitch_plan/color_block.py @@ -119,7 +119,7 @@ class ColorBlock(object): raise ValueError("internal error: can't add a command to an empty stitch block") self.stitches.append(Stitch(*args, **kwargs)) if isinstance(args[0], Stitch): - self.stitches.append(args[0]) + self.stitches.append(Stitch(*args, **kwargs)) elif isinstance(args[0], Point): self.stitches.append(Stitch(args[0].x, args[0].y, *args[1:], **kwargs)) -- cgit v1.2.3