diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/2geom/poly.cpp | 1 | ||||
| -rw-r--r-- | src/pencil-context.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
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 <gsl/gsl_poly.h> #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; } |
