Verified Commit 52cc6049 authored by Marc Jeanmougin's avatar Marc Jeanmougin 👹

Fix grouping performance

parent dcb68efa
Pipeline #66295471 passed with stages
in 135 minutes and 40 seconds
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment