Skip to content
Permalink
Browse files
correct parsing of control points
  • Loading branch information
shardtor committed Mar 15, 2016
1 parent 1032cd6 commit ee9839887c7006a4e5138afe8b039669082c904a
Showing with 1 addition and 1 deletion.
  1. +1 −1 GUI/xasyFile.py
@@ -211,7 +211,7 @@ def parsePathExpression(expr):
for a in range(len(nodes)):
if nodes[a] != "cycle":
nodes[a] = eval(nodes[a])
controls = [eval(a.replace("controls", "").split("and")) for a in tokens if a.startswith("controls")]
controls = [[eval(b) for b in a.replace("controls", "").split("and")] for a in tokens if a.startswith("controls")]
result.initFromControls(nodes, controls)
else:
#parse a path without control points

0 comments on commit ee98398

Please sign in to comment.