summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-12-30 23:04:07 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-12-30 23:04:07 +0000
commitfc2c097d01a18372a2c8a4fc516c58a94a3a59b6 (patch)
treee8257e509452ec3e03813e980f4aeadca92b2910 /src
parentMerge branch 'master' into CloneOriginalLPEFix (diff)
downloadinkscape-fc2c097d01a18372a2c8a4fc516c58a94a3a59b6.tar.gz
inkscape-fc2c097d01a18372a2c8a4fc516c58a94a3a59b6.zip
Back path operations to curves
Diffstat (limited to 'src')
-rw-r--r--src/verbs.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 212fcf357..08a3bb5a0 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -1233,28 +1233,36 @@ void SelectionVerb::perform(SPAction *action, void *data)
break;
case SP_VERB_SELECTION_OFFSET:
+ selection->toCurves(true);
sp_selected_path_offset(dt);
break;
case SP_VERB_SELECTION_OFFSET_SCREEN:
+ selection->toCurves(true);
sp_selected_path_offset_screen(dt, 1);
break;
case SP_VERB_SELECTION_OFFSET_SCREEN_10:
+ selection->toCurves(true);
sp_selected_path_offset_screen(dt, 10);
break;
case SP_VERB_SELECTION_INSET:
+ selection->toCurves(true);
sp_selected_path_inset(dt);
break;
case SP_VERB_SELECTION_INSET_SCREEN:
+ selection->toCurves(true);
sp_selected_path_inset_screen(dt, 1);
break;
case SP_VERB_SELECTION_INSET_SCREEN_10:
+ selection->toCurves(true);
sp_selected_path_inset_screen(dt, 10);
break;
case SP_VERB_SELECTION_DYNAMIC_OFFSET:
+ selection->toCurves(true);
sp_selected_path_create_offset_object_zero(dt);
tools_switch(dt, TOOLS_NODES);
break;
case SP_VERB_SELECTION_LINKED_OFFSET:
+ selection->toCurves(true);
sp_selected_path_create_updating_offset_object_zero(dt);
tools_switch(dt, TOOLS_NODES);
break;
@@ -1266,9 +1274,11 @@ void SelectionVerb::perform(SPAction *action, void *data)
sp_selected_path_outline(dt, true);
break;
case SP_VERB_SELECTION_SIMPLIFY:
+ selection->toCurves(true);
sp_selected_path_simplify(dt);
break;
case SP_VERB_SELECTION_REVERSE:
+ selection->toCurves(true);
SelectionHelper::reverse(dt);
break;