Skip to content

Commit

Permalink
Fixed issue with Bezier lines, will no longer crash when the path is …
Browse files Browse the repository at this point in the history
…not perfectly straight.
  • Loading branch information
Manuel Grauwiler committed Oct 28, 2013
1 parent 4f80952 commit ee84c2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extensions/paintbynumber.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ def effect(self):


def getXY(self, vertex):
c, (x, y) = vertex
inkex.errormsg(repr(vertex))
c, l = vertex
x,y = l[0], l[1]
return x,y


Expand Down

0 comments on commit ee84c2e

Please sign in to comment.