summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-12-07 12:44:59 +0000
committerjabiertxof <info@marker.es>2016-12-07 12:44:59 +0000
commitc178aad1e6eb84bf507b0da8bdda95677711f3cb (patch)
tree68d8d3425217ab5fecc2659ac3c5b2b878f87f86
parentfix bug #1644621 on show handles (diff)
downloadinkscape-c178aad1e6eb84bf507b0da8bdda95677711f3cb.tar.gz
inkscape-c178aad1e6eb84bf507b0da8bdda95677711f3cb.zip
fix bug #1644621 on show handles. Fix start knot on closed paths
Fixed bugs: - https://launchpad.net/bugs/1644621 (bzr r15306)
-rw-r--r--src/live_effects/lpe-show_handles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-show_handles.cpp b/src/live_effects/lpe-show_handles.cpp
index 2cbaa2707..170b6dccb 100644
--- a/src/live_effects/lpe-show_handles.cpp
+++ b/src/live_effects/lpe-show_handles.cpp
@@ -128,7 +128,7 @@ LPEShowHandles::generateHelperPath(Geom::PathVector result)
if(nodes) {
Geom::NodeType nodetype = Geom::NODE_CUSP;
if(path_it->closed()) {
- nodetype = Geom::get_nodetype(*curve_it1, path_it->back());
+ nodetype = Geom::get_nodetype(path_it->finalCurve(), *curve_it1);
}
drawNode(curve_it1->initialPoint(), nodetype);
}