From 796e4d207811b40c36945baeb5228870ed6a901b Mon Sep 17 00:00:00 2001 From: johanengelen Date: Tue, 17 Jun 2008 21:03:56 +0000 Subject: [PATCH] fix for 2geom change (pointAndDerivative) --- src/live_effects/lpe-knot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2