summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-06-17 21:03:56 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-06-17 21:03:56 +0000
commitd9ee25e69bb4b838171bc8aa8886f65b4b5b8b47 (patch)
tree0e69ed92b49032acbd05543512e49adb58e823d1 /src
parentupdate 2geom (diff)
downloadinkscape-d9ee25e69bb4b838171bc8aa8886f65b4b5b8b47.tar.gz
inkscape-d9ee25e69bb4b838171bc8aa8886f65b4b5b8b47.zip
fix for 2geom change (pointAndDerivative)
(bzr r5971)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-knot.cpp2
1 files changed, 1 insertions, 1 deletions
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<Point> MV = pathb[unsigned(curveidx)].pointAndDerivatives(timeoncurve,2);
+ std::vector<Point> 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;