From 9404e33373879d94968dae0677bfe831260b1203 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 15 Apr 2021 18:27:21 -0700 Subject: [PATCH] revert changes --- stitchcode/turtleShepherd.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/stitchcode/turtleShepherd.js b/stitchcode/turtleShepherd.js index c58a6f2f..dc97fab3 100644 --- a/stitchcode/turtleShepherd.js +++ b/stitchcode/turtleShepherd.js @@ -497,7 +497,6 @@ TurtleShepherd.prototype.toEXP = function() { } for (var i=0; i < this.cache.length; i++) { - if (this.cache[i].cmd == "color" && !this.ignoreColors) { expArr.push(0x80); expArr.push(0x01); @@ -517,9 +516,7 @@ TurtleShepherd.prototype.toEXP = function() { //} //move(0,0); - // also remove setting previous stitch to 0 - EXP/Bernina does not like it - // lastStitch = {cmd: "move", x: 0, y: -0, penDown: stitch.penDown} - + lastStitch = {cmd: "move", x: 0, y: -0, penDown: stitch.penDown} hasFirst = true; } else if (hasFirst) { x1 = Math.round(stitch.x * scale) - origin.x;