summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <mc@localhost.localdomain>2015-02-21 16:23:30 +0000
committerMarc Jeanmougin <mc@localhost.localdomain>2015-02-21 16:23:30 +0000
commit47d7675c0ec6a65e27e9ff69a8bfd34b621effab (patch)
tree95c42b6faebb24ee00f1255e154c451472a8ef5d /src/selection-chemistry.cpp
parentFix for bug 469885: Tiled Clones / Trace: Apply to Size skews resulting clone... (diff)
downloadinkscape-47d7675c0ec6a65e27e9ff69a8bfd34b621effab.tar.gz
inkscape-47d7675c0ec6a65e27e9ff69a8bfd34b621effab.zip
Fix for the performance loss in ungrouping observed by Tavmjong in rev 13933
Added std::list<SPObject*> hrefList member to SPObject class. (bzr r13935)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index e2fbaa73d..5e8fd5e07 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -1332,8 +1332,7 @@ void sp_selection_change_layer_maintain_clones(GSList const *items,SPObject *whe
if (item) {
SPItem *oldparent = dynamic_cast<SPItem *>(item->parent);
SPItem *newparent = dynamic_cast<SPItem *>(where);
- sp_item_group_ungroup_handle_clones(item->document->getRoot(),
- item,
+ sp_item_group_ungroup_handle_clones(item,
(oldparent->i2doc_affine())
*((newparent->i2doc_affine()).inverse()));
}