summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}