summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/multi-path-manipulator.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-02-06 21:45:14 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-02-06 21:45:14 +0000
commit9d9e9264afc4e6f83d59bd25ccae505eadb739d8 (patch)
tree3621f6c37127818a59083d5c8207f656b6bf5c7d /src/ui/tool/multi-path-manipulator.cpp
parentFix event handling for control points when multiple buttons are pressed; (diff)
downloadinkscape-9d9e9264afc4e6f83d59bd25ccae505eadb739d8.tar.gz
inkscape-9d9e9264afc4e6f83d59bd25ccae505eadb739d8.zip
Fix performance regressions in the node tool and a stupid crash bug
when deleting more than one stretch of selected nodes (bzr r9061)
Diffstat (limited to 'src/ui/tool/multi-path-manipulator.cpp')
-rw-r--r--src/ui/tool/multi-path-manipulator.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ui/tool/multi-path-manipulator.cpp b/src/ui/tool/multi-path-manipulator.cpp
index c34ef066e..5d7b520c8 100644
--- a/src/ui/tool/multi-path-manipulator.cpp
+++ b/src/ui/tool/multi-path-manipulator.cpp
@@ -516,12 +516,15 @@ bool MultiPathManipulator::event(GdkEvent *event)
break;
}
break;
+ case GDK_MOTION_NOTIFY:
+ combine_motion_events(_desktop->canvas, event->motion, 0);
+ for (MapType::iterator i = _mmap.begin(); i != _mmap.end(); ++i) {
+ if (i->second->event(event)) return true;
+ }
+ break;
default: break;
}
- for (MapType::iterator i = _mmap.begin(); i != _mmap.end(); ++i) {
- if (i->second->event(event)) return true;
- }
return false;
}