inkscape/inkscape-r9710-9712.patch
OBS User autobuild cab6443a92 Accepting request 47084 from GNOME:Apps
Copy from GNOME:Apps/inkscape based on submit request 47084 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/47084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/inkscape?expand=0&rev=37
2010-09-06 16:18:55 +00:00

17 lines
684 B
Diff

=== 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);