diff options
| author | jtx <javier.arraiza@marker.es> | 2013-02-14 17:44:03 +0000 |
|---|---|---|
| committer | jtx <javier.arraiza@marker.es> | 2013-02-14 17:44:03 +0000 |
| commit | e18ec9f6b20ec15306e07adfad1587a6ae9b7f59 (patch) | |
| tree | 66c5c58dc4c43c712745cd50cfeb986539ca321c /src/live_effects | |
| parent | First Steps, BSpline Live Path Ok, working Pen Context (diff) | |
| parent | All done except cusp continuous and close bspline (diff) | |
| download | inkscape-e18ec9f6b20ec15306e07adfad1587a6ae9b7f59.tar.gz inkscape-e18ec9f6b20ec15306e07adfad1587a6ae9b7f59.zip | |
Fix cusp continuous? path close broken
(bzr r11950.3.1)
Diffstat (limited to 'src/live_effects')
| -rw-r--r-- | src/live_effects/lpe-bspline.cpp | 2 |
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(); |
