From d9ee25e69bb4b838171bc8aa8886f65b4b5b8b47 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Tue, 17 Jun 2008 21:03:56 +0000 Subject: fix for 2geom change (pointAndDerivative) (bzr r5971) --- src/live_effects/lpe-knot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/live_effects/lpe-knot.cpp b/src/live_effects/lpe-knot.cpp index 525cb66d5..678bbf8ba 100644 --- a/src/live_effects/lpe-knot.cpp +++ b/src/live_effects/lpe-knot.cpp @@ -62,7 +62,7 @@ findShadowedTime(Geom::Path &patha, if(curveidx == pathb.size() && timeoncurve == 0) { curveidx--; timeoncurve = 0.99999;} assert(curveidx >= 0 && curveidx < pathb.size()); - std::vector MV = pathb[unsigned(curveidx)].pointAndDerivatives(timeoncurve,2); + std::vector MV = pathb[unsigned(curveidx)].pointAndDerivatives(timeoncurve,1); Point T = unit_vector(MV.at(1)); Point N = T.cw(); Point A = MV.at(0)-10*width*T, B = MV.at(0)+10*width*T; -- cgit v1.2.3