Missed a spot for the Ss control point calculation to remember previous curve.

This commit is contained in:
Christopher Kohnert 2017-06-09 14:00:17 -07:00
parent 5827e10bdd
commit d873c99c5e
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}