diff options
| author | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-10-29 22:07:10 +0000 |
|---|---|---|
| committer | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-10-29 22:07:10 +0000 |
| commit | ffba6ae904deaef040defebcc0ff6f7458dbb969 (patch) | |
| tree | 7b22f9c718ce74714a0398e1b70acfaba5ad6f4e /src/snapped-point.cpp | |
| parent | Dropped not working accelator key (r9858 Bug #170765) (diff) | |
| download | inkscape-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-point.cpp')
| -rw-r--r-- | src/snapped-point.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/snapped-point.cpp b/src/snapped-point.cpp index 22daf9103..8f774f793 100644 --- a/src/snapped-point.cpp +++ b/src/snapped-point.cpp @@ -61,7 +61,7 @@ Inkscape::SnappedPoint::SnappedPoint() { _point = Geom::Point(0,0); _source = SNAPSOURCE_UNDEFINED, - _source_num = 0, + _source_num = -1, _target = SNAPTARGET_UNDEFINED, _at_intersection = false; _constrained_snap = false; @@ -81,7 +81,7 @@ Inkscape::SnappedPoint::SnappedPoint(Geom::Point const &p) { _point = p; _source = SNAPSOURCE_UNDEFINED, - _source_num = 0, + _source_num = -1, _target = SNAPTARGET_UNDEFINED, _at_intersection = false; _fully_constrained = false; |
