diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-knot.cpp | 2 |
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; |
