mirror of https://github.com/Chlumsky/msdfgen.git
Missed a spot for the Ss control point calculation to remember previous curve.
This commit is contained in:
parent
5827e10bdd
commit
d873c99c5e
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue