diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2015-04-30 09:17:07 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2015-04-30 09:17:07 +0000 |
| commit | 6a9762c7603a32c7ec5cc0aaed8048d84daee6e8 (patch) | |
| tree | 8cd98ce46dad85fc325bdd01ba60458de0801701 /src/ui/tool/path-manipulator.cpp | |
| parent | Fix calls to Geom::cross() - sign change. (diff) | |
| download | inkscape-6a9762c7603a32c7ec5cc0aaed8048d84daee6e8.tar.gz inkscape-6a9762c7603a32c7ec5cc0aaed8048d84daee6e8.zip | |
Update 2Geom to r2347
(bzr r14059.2.3)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
| -rw-r--r-- | src/ui/tool/path-manipulator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp index 2356e60bf..e54764216 100644 --- a/src/ui/tool/path-manipulator.cpp +++ b/src/ui/tool/path-manipulator.cpp @@ -1649,14 +1649,14 @@ void PathManipulator::_updateDragPoint(Geom::Point const &evp) Geom::PathVector pv = _spcurve->get_pathvector(); if (pv.empty()) return; - boost::optional<Geom::PathVectorPosition> pvp = - pv.nearestPosition(_desktop->w2d(evp) * to_desktop.inverse()); + boost::optional<Geom::PathVectorTime> pvp = + pv.nearestTime(_desktop->w2d(evp) * to_desktop.inverse()); Geom::Point nearest_pt = _desktop->d2w(pv.pointAt(*pvp) * to_desktop); double fracpart = pvp->t; std::list<SubpathPtr>::iterator spi = _subpaths.begin(); for (unsigned i = 0; i < pvp->path_index; ++i, ++spi) {} - NodeList::iterator first = (*spi)->before(pvp->asPathPosition()); + NodeList::iterator first = (*spi)->before(pvp->asPathTime()); double stroke_tolerance = _getStrokeTolerance(); if (first && first.next() && |
