diff -r -U2 pyfeyn-0.3.4.orig/pyfeyn/lines.py pyfeyn-0.3.4/pyfeyn/lines.py --- pyfeyn-0.3.4.orig/pyfeyn/lines.py 2014-03-06 23:12:24.000000000 +0700 +++ pyfeyn-0.3.4/pyfeyn/lines.py 2014-05-14 21:45:49.356935407 +0700 @@ -117,8 +117,12 @@ """Make this line a straight line between start and end.""" self.arcthrupoint = None + return self def bend(self, amount): """Bend the line to the right by a given distance.""" + if amount==0: + self.arcthrupoint = None + return self middle = self.p1.midpoint(self.p2) nx = (middle.y() - self.p1.y()) / abs(self.p1.distance(middle))