Code

- Constrained snap: proper implementation of the preference to snap the mouse pointer...
[inkscape.git] / src / snapped-curve.cpp
index 77bc8280cbb87919feade40435a2301e1da3a7a5..5deb4c449c214db0f9bd8511e67bc5e4a34bdffa 100644 (file)
@@ -47,7 +47,7 @@ Inkscape::SnappedCurve::SnappedCurve()
     _at_intersection = false;
     _fully_constrained = false;
     _source = SNAPSOURCE_UNDEFINED;
-    _source_num = 0;
+    _source_num = -1;
     _target = SNAPTARGET_UNDEFINED;
     _target_bbox = Geom::OptRect();
 }