inkscape/inkscape-r9710-9712.patch

17 lines
684 B
Diff
Raw Normal View History

=== modified file 'src/ui/tool/path-manipulator.cpp'
--- src/ui/tool/path-manipulator.cpp 2010-04-06 14:11:54 +0000
+++ src/ui/tool/path-manipulator.cpp 2010-08-13 21:10:23 +0000
@@ -1414,7 +1414,10 @@
NodeList::iterator first = (*spi)->before(pvp->t, &fracpart);
double stroke_tolerance = _getStrokeTolerance();
- if (Geom::distance(evp, nearest_point) < stroke_tolerance) {
+ if (first && first.next() &&
+ fracpart != 0.0 &&
+ Geom::distance(evp, nearest_point) < stroke_tolerance)
+ {
_dragpoint->setVisible(true);
_dragpoint->setPosition(_desktop->w2d(nearest_point));
_dragpoint->setSize(2 * stroke_tolerance);