summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2007-03-04 04:23:10 +0000
committermental <mental@users.sourceforge.net>2007-03-04 04:23:10 +0000
commit8c817ead913533f39691a64270982c0819744ad2 (patch)
tree35475a56a469aabad3641ceef2417bf431a16f67 /src/object-snapper.cpp
parentdelivarotify picking; restore the old pick code, fix it to work with stroke w... (diff)
downloadinkscape-8c817ead913533f39691a64270982c0819744ad2.tar.gz
inkscape-8c817ead913533f39691a64270982c0819744ad2.zip
redo NR::Maybe to be less clever
(bzr r2532)
Diffstat (limited to 'src/object-snapper.cpp')
-rw-r--r--src/object-snapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object-snapper.cpp b/src/object-snapper.cpp
index 4a21cbc04..684700b3b 100644
--- a/src/object-snapper.cpp
+++ b/src/object-snapper.cpp
@@ -131,7 +131,7 @@ void Inkscape::ObjectSnapper::_snapPaths(Inkscape::SnappedPoint &s,
if (o && o->t >= 0 && o->t <= 1) {
/* Convert the nearest point back to desktop coordinates */
- NR::Point const o_it = get_point_on_Path(livarot_path, o.assume().piece, o.assume().t);
+ NR::Point const o_it = get_point_on_Path(livarot_path, o->piece, o->t);
NR::Point const o_dt = desktop->doc2dt(o_it * i2doc);
NR::Coord const dist = NR::L2(o_dt - p);