summaryrefslogtreecommitdiffstats
path: root/src/ui/clipboard.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2008-11-29 05:32:03 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2008-11-29 05:32:03 +0000
commit5ff2e1bcf745f083e94dd6a352a86288bf06b51f (patch)
treebf39c624025d4a2924a106300f390713487662b7 /src/ui/clipboard.cpp
parentfix setting blend mode to Normal (diff)
downloadinkscape-5ff2e1bcf745f083e94dd6a352a86288bf06b51f.tar.gz
inkscape-5ff2e1bcf745f083e94dd6a352a86288bf06b51f.zip
comment
(bzr r6919)
Diffstat (limited to 'src/ui/clipboard.cpp')
-rw-r--r--src/ui/clipboard.cpp2
1 files changed, 1 insertions, 1 deletions
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