diff options
| author | Thomas Holder <speleo3@users.sourceforge.net> | 2009-05-13 17:41:26 +0000 |
|---|---|---|
| committer | speleo3 <speleo3@users.sourceforge.net> | 2009-05-13 17:41:26 +0000 |
| commit | e4355ae59e9e19e9b55c736cb53c0cf6d5709091 (patch) | |
| tree | 68e38e18ade64ada53cf16b054071d6e0523fc97 /src/ui/clipboard.cpp | |
| parent | new "compensate" param for sp_selection_apply_affine and sp_selection_move_re... (diff) | |
| download | inkscape-e4355ae59e9e19e9b55c736cb53c0cf6d5709091.tar.gz inkscape-e4355ae59e9e19e9b55c736cb53c0cf6d5709091.zip | |
parent transformation on import and paste (Bug #376064, Bug #375499)
(bzr r7876)
Diffstat (limited to 'src/ui/clipboard.cpp')
| -rw-r--r-- | src/ui/clipboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index 2ee62cfec..7e41006be 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -799,7 +799,7 @@ void ClipboardManagerImpl::_pasteDocument(SPDocument *clipdoc, bool in_place) // invers apply parent transform Geom::Matrix doc2parent = sp_item_i2doc_affine(SP_ITEM(desktop->currentLayer())).inverse(); - sp_selection_apply_affine(selection, doc2parent); + sp_selection_apply_affine(selection, desktop->dt2doc() * doc2parent * desktop->doc2dt(), true, false); // Update (among other things) all curves in paths, for bounds() to work sp_document_ensure_up_to_date(target_document); |
