Merge branch 'svg_fix'

* svg_fix:
  Missed a spot for the Ss control point calculation to remember previous curve.
This commit is contained in:
Christopher Kohnert 2017-06-09 14:02:33 -07:00
commit df4542affc
1 changed files with 1 additions and 0 deletions

View File

@ -277,6 +277,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);
}