From 811119f41f9bc95f86e03a329d828367fc142e5b Mon Sep 17 00:00:00 2001 From: joncruz Date: Tue, 2 Sep 2008 08:29:21 +0000 Subject: [PATCH] Fixed forgotten variable assignment --- src/shape-editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp index a6bb13855..91fdeca35 100644 --- a/src/shape-editor.cpp +++ b/src/shape-editor.cpp @@ -355,7 +355,7 @@ bool ShapeEditor::is_over_stroke (NR::Point event_p, bool remember) { if (SP_IS_SHAPE(item)) { curve = sp_shape_get_curve(SP_SHAPE(item)); } else { - this->nodepath->curve; // not sure if np->curve is always up to date... + curve = this->nodepath->curve; // not sure if np->curve is always up to date... } Geom::PathVector const &pathv = curve->get_pathvector(); Geom::PathVectorPosition pvpos = Geom::nearestPoint(pathv, this->curvepoint_doc); -- 2.30.2