summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-02-14 05:01:26 +0000
committerJabiertxo Arraiza Zenotz <jtx@jtx.marker.es>2013-02-14 05:01:26 +0000
commit28b44133e0d9df8054e17ed9724ea645220e1530 (patch)
tree215891d987487cd10a9ef5da13ec863488e14ab6 /src/live_effects
parentMerge from trunk (diff)
downloadinkscape-28b44133e0d9df8054e17ed9724ea645220e1530.tar.gz
inkscape-28b44133e0d9df8054e17ed9724ea645220e1530.zip
All done except cusp continuous and close bspline
(bzr r11950.1.32)
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpe-bspline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-bspline.cpp b/src/live_effects/lpe-bspline.cpp
index 408f0f8a6..0ce18dcea 100644
--- a/src/live_effects/lpe-bspline.cpp
+++ b/src/live_effects/lpe-bspline.cpp
@@ -98,7 +98,7 @@ LPEBSpline::doEffect(SPCurve * curve)
cubicIn = dynamic_cast<Geom::CubicBezier const*>(&*curve_it1);
cubicOut = dynamic_cast<Geom::CubicBezier const*>(&*curve_it2);
cubicEnd = dynamic_cast<Geom::CubicBezier const*>(&*curve_end);
- if (path_it->closed() && cubicIn && cubicEnd && (*cubicIn)[1] != (*cubicEnd)[2]){
+ if (path_it->closed() && cubicEnd && (*cubicEnd)[3] != (*cubicEnd)[2]){
//Calculamos el nodo de inicio BSpline
SBasisIn = in->first_segment()->toSBasis();
SBasisEnd = end->first_segment()->toSBasis();