summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/path-manipulator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
-rw-r--r--src/ui/tool/path-manipulator.cpp6
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() &&