diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-08-08 20:21:47 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-08-08 20:21:47 +0000 |
| commit | 8efd3ec8b64beb8e86f77329d9f54a71eb8f660c (patch) | |
| tree | a3c95ff4ba10f8bcc74c1b4654da9bd7ea328e70 /src/ui/tool/path-manipulator.cpp | |
| parent | Ponyscape feature: finish pen drawing on context switch (diff) | |
| parent | Massive performance improvment for basic node operations with thousands of nodes (diff) | |
| download | inkscape-8efd3ec8b64beb8e86f77329d9f54a71eb8f660c.tar.gz inkscape-8efd3ec8b64beb8e86f77329d9f54a71eb8f660c.zip | |
Update to experimental r13465
(bzr r13090.1.102)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
| -rw-r--r-- | src/ui/tool/path-manipulator.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp index 9839be437..5f20aece7 100644 --- a/src/ui/tool/path-manipulator.cpp +++ b/src/ui/tool/path-manipulator.cpp @@ -140,8 +140,8 @@ PathManipulator::PathManipulator(MultiPathManipulator &mpm, SPPath *path, _selection.signal_update.connect( sigc::bind(sigc::mem_fun(*this, &PathManipulator::update), false)); - _selection.signal_point_changed.connect( - sigc::mem_fun(*this, &PathManipulator::_selectionChanged)); + _selection.signal_selection_changed.connect( + sigc::mem_fun(*this, &PathManipulator::_selectionChangedM)); _desktop->signal_zoom_changed.connect( sigc::hide( sigc::mem_fun(*this, &PathManipulator::_updateOutlineOnZoomChange))); @@ -1524,6 +1524,12 @@ bool PathManipulator::_handleClicked(Handle *h, GdkEventButton *event) return false; } +void PathManipulator::_selectionChangedM(std::vector<SelectableControlPoint *> pvec, bool selected) { + for (size_t n = 0, e = pvec.size(); n < e; ++n) { + _selectionChanged(pvec[n], selected); + } +} + void PathManipulator::_selectionChanged(SelectableControlPoint *p, bool selected) { if (selected) ++_num_selected; |
