From: johanengelen Date: Tue, 17 Jun 2008 21:03:56 +0000 (+0000) Subject: fix for 2geom change (pointAndDerivative) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=796e4d207811b40c36945baeb5228870ed6a901b;p=inkscape.git fix for 2geom change (pointAndDerivative) --- 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;