Commit 0a7fe50a authored by Fabrice Salvaire's avatar Fabrice Salvaire

Bezier: log fix

parent 92daf40f
......@@ -708,7 +708,7 @@ class QuadraticBezier2D(BezierMixin2D, Primitive3P):
return None
elif len(t) > 1:
# Fixme: crash application !!!
raise NameError("Found more than one root")
raise NameError("Found more than one root: {}".format(t))
else:
return self.point_at_t(t)
......@@ -1294,6 +1294,6 @@ class CubicBezier2D(BezierMixin2D, Primitive4P):
if not t:
return None
elif len(t) > 1:
raise NameError("Found more than on root")
raise NameError("Found more than one root: {}".format(t))
else:
return self.point_at_t(t[0])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment