summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 73d809a)
raw | patch | inline | side by side (parent: 73d809a)
author | cilix42 <cilix42@users.sourceforge.net> | |
Mon, 8 Sep 2008 11:26:05 +0000 (11:26 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Mon, 8 Sep 2008 11:26:05 +0000 (11:26 +0000) |
src/ui/clipboard.cpp | patch | blob | history | |
src/ui/dialog/livepatheffect-editor.cpp | patch | blob | history |
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp
index ac35e7be6cd6ca278f3eb1ce3cf369fa5fb681df..cad6fa011bbef90d1d7695bc2da187166c95ddf2 100644 (file)
--- a/src/ui/clipboard.cpp
+++ b/src/ui/clipboard.cpp
if ( effect ) {
_pasteDefs(tempdoc);
// make sure all selected items are converted to paths first (i.e. rectangles)
- sp_selected_path_to_curves(false);
+ sp_selected_path_to_curves(desktop, false);
for (GSList *item = const_cast<GSList *>(selection->itemList()) ; item ; item = item->next) {
_applyPathEffect(reinterpret_cast<SPItem*>(item->data), effect);
}
index 567ee24dadf47ada4130dd7d0b7e0c0a7166dbb6..44f37083b0402f28bbe075ff130b84f028afc47e 100644 (file)
// If item is a SPRect, convert it to path first:
if ( SP_IS_RECT(item) ) {
- sp_selected_path_to_curves(false);
+ sp_selected_path_to_curves(current_desktop, false);
item = sel->singleItem(); // get new item
}