diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-06-14 17:20:36 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-06-14 17:20:36 +0000 |
| commit | 52cc60498f5044d4ac4874c08fcdce61d62142e5 (patch) | |
| tree | cb8499920dc34181341fc7a34127d5ec3383b729 /src/selection-chemistry.cpp | |
| parent | Stop inflating inkscape.pot and only update it on demand (diff) | |
| download | inkscape-52cc60498f5044d4ac4874c08fcdce61d62142e5.tar.gz inkscape-52cc60498f5044d4ac4874c08fcdce61d62142e5.zip | |
Fix grouping performance
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rwxr-xr-x | src/selection-chemistry.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index ea9d1eace..fc3c8ae84 100755 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -722,6 +722,7 @@ Inkscape::XML::Node* ObjectSet::group() { std::vector<Inkscape::XML::Node*> p(xmlNodes().begin(), xmlNodes().end()); std::sort(p.begin(), p.end(), sp_repr_compare_position_bool); + this->clear(); // Remember the position and parent of the topmost object. gint topmost = p.back()->position(); |
