From 4d5da888f1264eff101a057db0812d698de27a8b Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Tue, 22 Mar 2022 15:57:55 -0500 Subject: [PATCH] f --- src/pixie/paths.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pixie/paths.nim b/src/pixie/paths.nim index 415fc0f..5f095bf 100644 --- a/src/pixie/paths.nim +++ b/src/pixie/paths.nim @@ -694,7 +694,7 @@ proc commandsToShapes( halfway = compute(at, ctrl1, ctrl2, to, t + step / 4) step /= 2 if step == 0: - raise newException(PixieError, "Unable to discretize arc") + raise newException(PixieError, "Unable to discretize cubic") else: shape.addSegment(prev, next) t += step @@ -729,7 +729,7 @@ proc commandsToShapes( halfStepping = true step /= 2 if step == 0: - raise newException(PixieError, "Unable to discretize arc") + raise newException(PixieError, "Unable to discretize quadratic") else: shape.addSegment(prev, next) t += step