summaryrefslogtreecommitdiffstats
path: root/src/snapped-point.h
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-point.h
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 '')
-rw-r--r--src/snapped-point.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snapped-point.h b/src/snapped-point.h
index a28712e85..b2a9fa1ce 100644
--- a/src/snapped-point.h
+++ b/src/snapped-point.h
@@ -97,7 +97,7 @@ public:
protected:
Geom::Point _point; // Location of the snapped point
SnapSourceType _source; // Describes what snapped
- long _source_num; // Sequence number of the source point that snapped, if that point is part of a set of points. (starting at zero)
+ long _source_num; // Sequence number of the source point that snapped, if that point is part of a set of points. (starting at zero if we might have a set of points; -1 if we only have a single point)
SnapTargetType _target; // Describes to what we've snapped to
bool _at_intersection; // If true, the snapped point is at an intersection
bool _constrained_snap; // If true, then the snapped point was found when looking for a constrained snap