summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/livepatheffect-editor.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-10-25 21:31:28 +0000
committerjabiertxof <info@marker.es>2016-10-25 21:31:28 +0000
commit47afab8f225cffbcc94d49216c4382410a84ed47 (patch)
tree3e639a4b359de538b5bf037eb3e43d85f7b2673c /src/ui/dialog/livepatheffect-editor.cpp
parentSome bug fixes and improvements (diff)
parentFix signals (diff)
downloadinkscape-47afab8f225cffbcc94d49216c4382410a84ed47.tar.gz
inkscape-47afab8f225cffbcc94d49216c4382410a84ed47.zip
Update to trunk
(bzr r15142.1.26)
Diffstat (limited to 'src/ui/dialog/livepatheffect-editor.cpp')
-rw-r--r--src/ui/dialog/livepatheffect-editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/livepatheffect-editor.cpp b/src/ui/dialog/livepatheffect-editor.cpp
index 73f8debd6..b97b0e63a 100644
--- a/src/ui/dialog/livepatheffect-editor.cpp
+++ b/src/ui/dialog/livepatheffect-editor.cpp
@@ -419,7 +419,7 @@ LivePathEffectEditor::onAdd()
// If item is a SPRect, convert it to path first:
if ( dynamic_cast<SPRect *>(item) ) {
- sp_selected_path_to_curves(sel, current_desktop, false);
+ sel->toCurves();
item = sel->singleItem(); // get new item
}
@@ -451,7 +451,7 @@ LivePathEffectEditor::onAdd()
item = NULL;
// run sp_selection_clone_original_path_lpe
- sp_selection_clone_original_path_lpe(current_desktop);
+ sel->cloneOriginalPathLPE();
SPItem *new_item = sel->singleItem();
// Check that the cloning was successful. We don't want to change the ID of the original referenced path!