diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-08-17 14:58:39 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-08-17 14:58:39 +0000 |
| commit | 2286e96fb2d97298adf9920902babc522dc80b66 (patch) | |
| tree | 35063233ff3676c4df7def81bf7a7adc4b235eef /src/file.cpp | |
| parent | Clone Original -> Fill Between Many (diff) | |
| parent | Update to trunk r13525 (diff) | |
| download | inkscape-2286e96fb2d97298adf9920902babc522dc80b66.tar.gz inkscape-2286e96fb2d97298adf9920902babc522dc80b66.zip | |
Update to experimental r13483
(bzr r13090.1.105)
Diffstat (limited to 'src/file.cpp')
| -rw-r--r-- | src/file.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/file.cpp b/src/file.cpp index d8671c5d5..2f13ae3b0 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -1087,9 +1087,9 @@ void sp_import_document(SPDesktop *desktop, SPDocument *clipdoc, bool in_place) Inkscape::Selection *selection = sp_desktop_selection(desktop); selection->setReprList(pasted_objects); - // invers apply parent transform + // Apply inverse of parent transform Geom::Affine doc2parent = SP_ITEM(desktop->currentLayer())->i2doc_affine().inverse(); - sp_selection_apply_affine(selection, desktop->dt2doc() * doc2parent * desktop->doc2dt(), true, false); + sp_selection_apply_affine(selection, desktop->dt2doc() * doc2parent * desktop->doc2dt(), true, false, false); // Update (among other things) all curves in paths, for bounds() to work target_document->ensureUpToDate(); @@ -1226,7 +1226,7 @@ file_import(SPDocument *in_doc, const Glib::ustring &uri, // c2p is identity matrix at this point unless ensureUpToDate is called doc->ensureUpToDate(); Geom::Affine affine = doc->getRoot()->c2p * SP_ITEM(place_to_insert)->i2doc_affine().inverse(); - sp_selection_apply_affine(selection, desktop->dt2doc() * affine * desktop->doc2dt(), true, false); + sp_selection_apply_affine(selection, desktop->dt2doc() * affine * desktop->doc2dt(), true, false, false); // move to mouse pointer { |
