From b8a3d281b9519903c0785ae92a1e091f6a53c0aa Mon Sep 17 00:00:00 2001 From: johanengelen Date: Thu, 8 Jan 2009 12:13:12 +0000 Subject: [PATCH] fix build --- src/2geom/poly.cpp | 1 + src/pencil-context.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/2geom/poly.cpp b/src/2geom/poly.cpp index 9dbfc0967..d8b379557 100644 --- a/src/2geom/poly.cpp +++ b/src/2geom/poly.cpp @@ -1,5 +1,6 @@ #include <2geom/poly.h> +#define HAVE_GSL #ifdef HAVE_GSL #include #endif diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp index 56a479f38..d089146b8 100644 --- a/src/pencil-context.cpp +++ b/src/pencil-context.cpp @@ -824,7 +824,7 @@ sketch_interpolate(SPPencilContext *pc) } else { t = 0.5; } - pc->sketch_interpolation = Geom::lerp(fit_pwd2, pc->sketch_interpolation, t); + pc->sketch_interpolation = Geom::lerp(t, fit_pwd2, pc->sketch_interpolation); } else { pc->sketch_interpolation = fit_pwd2; } -- 2.30.2