summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2009-01-08 12:13:12 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2009-01-08 12:13:12 +0000
commit979027dd130e515b8d17f3e92d1b757a0dcb6a22 (patch)
treeed947a2968d2e119d7f4fba4dc3e7b3546c65f9e /src
parentswitch to using shape_editor, instead of separate knotholders and listeners; ... (diff)
downloadinkscape-979027dd130e515b8d17f3e92d1b757a0dcb6a22.tar.gz
inkscape-979027dd130e515b8d17f3e92d1b757a0dcb6a22.zip
fix build
(bzr r7098)
Diffstat (limited to 'src')
-rw-r--r--src/2geom/poly.cpp1
-rw-r--r--src/pencil-context.cpp2
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;
}