f
This commit is contained in:
parent
dd85e5f9b0
commit
4d5da888f1
1 changed files with 2 additions and 2 deletions
|
@ -694,7 +694,7 @@ proc commandsToShapes(
|
||||||
halfway = compute(at, ctrl1, ctrl2, to, t + step / 4)
|
halfway = compute(at, ctrl1, ctrl2, to, t + step / 4)
|
||||||
step /= 2
|
step /= 2
|
||||||
if step == 0:
|
if step == 0:
|
||||||
raise newException(PixieError, "Unable to discretize arc")
|
raise newException(PixieError, "Unable to discretize cubic")
|
||||||
else:
|
else:
|
||||||
shape.addSegment(prev, next)
|
shape.addSegment(prev, next)
|
||||||
t += step
|
t += step
|
||||||
|
@ -729,7 +729,7 @@ proc commandsToShapes(
|
||||||
halfStepping = true
|
halfStepping = true
|
||||||
step /= 2
|
step /= 2
|
||||||
if step == 0:
|
if step == 0:
|
||||||
raise newException(PixieError, "Unable to discretize arc")
|
raise newException(PixieError, "Unable to discretize quadratic")
|
||||||
else:
|
else:
|
||||||
shape.addSegment(prev, next)
|
shape.addSegment(prev, next)
|
||||||
t += step
|
t += step
|
||||||
|
|
Loading…
Reference in a new issue