From d873c99c5e7b67330d537c0d6f629bc9ec2e2ebd Mon Sep 17 00:00:00 2001 From: Christopher Kohnert Date: Fri, 9 Jun 2017 14:00:17 -0700 Subject: [PATCH] Missed a spot for the Ss control point calculation to remember previous curve. --- ext/import-svg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/import-svg.cpp b/ext/import-svg.cpp index c8a376d..ecebab3 100644 --- a/ext/import-svg.cpp +++ b/ext/import-svg.cpp @@ -253,6 +253,7 @@ static bool buildFromPath(Shape &shape, const char *pathDef, double size) { } contourStart &= nodeType == 'M' || nodeType == 'm'; prevNode = node; + prevNodeType = nodeType; readNodeType(nodeType, pathDef); consumeWhitespace(pathDef); }