From: buliabyak Date: Sat, 29 Nov 2008 05:32:03 +0000 (+0000) Subject: comment X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3502478308971332139fdb1a9c71949af586cd9b;p=inkscape.git comment --- diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index 0dc4a1d5b..bd3edadda 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -784,7 +784,7 @@ void ClipboardManagerImpl::_pasteDocument(SPDocument *clipdoc, bool in_place) // Calculate the relative location of the mouse pointer Inkscape::Selection *selection = sp_desktop_selection(desktop); selection->setReprList(pasted_objects); // Change the selection to the freshly pasted objects - sp_document_ensure_up_to_date(target_document); // What does this do? + sp_document_ensure_up_to_date(target_document); // Update (among other things) all curves in paths, for bounds() to work Geom::OptRect sel_bbox = selection->bounds(); //In desktop coordinates // PS: We could also have used the min/max corners calculated above, instead of selection->bounds() because