From a4cbb47b55111961e5f0c6229e414fc3ce2dbe4b Mon Sep 17 00:00:00 2001 From: akiva Date: Wed, 7 Nov 2018 12:23:21 -0800 Subject: [PATCH] Update turtle.py We should reset the path in case the pen moved in the penup location so we don't have a line from the last penup location to the current pendown location when we put our pen down. --- axi/turtle.py | 1 + 1 file changed, 1 insertion(+) diff --git a/axi/turtle.py b/axi/turtle.py index f458ce8..f132755 100644 --- a/axi/turtle.py +++ b/axi/turtle.py @@ -34,6 +34,7 @@ def drawing(self): def pd(self): self.pen = True + self._path = [(self.x, self.y)] pendown = down = pd def pu(self):