summaryrefslogtreecommitdiffstats
path: root/src/satisfied-guide-cns.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-12-19 00:01:46 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-12-19 00:01:46 +0000
commit0b00c1f72ff8717f41b39334672e9386e4523a4f (patch)
treeeea2e7aac8ed7ef79ae249578e1bf802c5c10271 /src/satisfied-guide-cns.cpp
parentIntroduce verb, menu item and shortcut for the global snapping toggle (diff)
downloadinkscape-0b00c1f72ff8717f41b39334672e9386e4523a4f.tar.gz
inkscape-0b00c1f72ff8717f41b39334672e9386e4523a4f.zip
rename guide parameters to match snapping code naming convention.
start conversion to use point_on_line instead of position. (bzr r4257)
Diffstat (limited to '')
-rw-r--r--src/satisfied-guide-cns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/satisfied-guide-cns.cpp b/src/satisfied-guide-cns.cpp
index 3353b1fdf..ece5118c5 100644
--- a/src/satisfied-guide-cns.cpp
+++ b/src/satisfied-guide-cns.cpp
@@ -13,7 +13,7 @@ void satisfied_guide_cns(SPDesktop const &desktop,
for (GSList const *l = nv.guides; l != NULL; l = l->next) {
SPGuide &g = *SP_GUIDE(l->data);
for (unsigned int i = 0; i < snappoints.size(); ++i) {
- if (approx_equal(dot(g.normal, snappoints[i]), g.position)) {
+ if (approx_equal(dot(g.normal_to_line, snappoints[i]), g.position)) {
cns.push_back(SPGuideConstraint(&g, i));
}
}