diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-01-24 18:47:19 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-01-24 18:47:19 +0000 |
| commit | 944aec996cd9ed6edc63a48d6000691ab8ad07e6 (patch) | |
| tree | cfa2307de74a73bf9642aa13de1f91d5a953fc1a /src/ui/tool/path-manipulator.cpp | |
| parent | Adding the Interpolate tutorial in Help>Tutorials (diff) | |
| download | inkscape-944aec996cd9ed6edc63a48d6000691ab8ad07e6.tar.gz inkscape-944aec996cd9ed6edc63a48d6000691ab8ad07e6.zip | |
Fix freezes when deleting nodes.
(bzr r9020)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
| -rw-r--r-- | src/ui/tool/path-manipulator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp index 82f7f9da0..4b42c16b0 100644 --- a/src/ui/tool/path-manipulator.cpp +++ b/src/ui/tool/path-manipulator.cpp @@ -549,7 +549,7 @@ unsigned PathManipulator::_deleteStretch(NodeList::iterator start, NodeList::ite double const t_step = 1.0 / samples_per_segment; unsigned del_len = 0; - for (NodeList::iterator i = start; i != end; ++i) { + for (NodeList::iterator i = start; i != end; i = i.next()) { ++del_len; } if (del_len == 0) return 0; |
