Code

Fixed forgotten variable assignment
authorjoncruz <joncruz@users.sourceforge.net>
Tue, 2 Sep 2008 08:29:21 +0000 (08:29 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Tue, 2 Sep 2008 08:29:21 +0000 (08:29 +0000)
src/shape-editor.cpp

index a6bb138556daf7eed874fa8a85138c5413d14c60..91fdeca350508f31324731f170b819b99a3c2a73 100644 (file)
@@ -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);