summaryrefslogtreecommitdiffstats
path: root/src/snapped-curve.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mailat-signdiedenrezidotnl>2010-10-29 22:07:10 +0000
committerDiederik van Lierop <mailat-signdiedenrezidotnl>2010-10-29 22:07:10 +0000
commitffba6ae904deaef040defebcc0ff6f7458dbb969 (patch)
tree7b22f9c718ce74714a0398e1b70acfaba5ad6f4e /src/snapped-curve.cpp
parentDropped not working accelator key (r9858 Bug #170765) (diff)
downloadinkscape-ffba6ae904deaef040defebcc0ff6f7458dbb969.tar.gz
inkscape-ffba6ae904deaef040defebcc0ff6f7458dbb969.zip
- Constrained snap: proper implementation of the preference to snap the mouse pointer or handle itself (instead of projecting it first onto the constraint)
- Fix a crash in SnapManager::multipleConstrainedSnaps (bzr r9866)
Diffstat (limited to 'src/snapped-curve.cpp')
-rw-r--r--src/snapped-curve.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snapped-curve.cpp b/src/snapped-curve.cpp
index 77bc8280c..5deb4c449 100644
--- a/src/snapped-curve.cpp
+++ b/src/snapped-curve.cpp
@@ -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();
}