summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorJabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es>2017-12-07 10:02:44 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-12-14 22:11:54 +0000
commite6fb3530bee1ba272d7399f26634b27a335798cb (patch)
treeac5670f627c3aaa9a69d88c600a959979755b746 /src/verbs.cpp
parentMinor header cleanup. Add a few class names. (diff)
downloadinkscape-e6fb3530bee1ba272d7399f26634b27a335798cb.tar.gz
inkscape-e6fb3530bee1ba272d7399f26634b27a335798cb.zip
This commit:
*Allow boolops operation with non paths converting them to path first *Allow convert to stroke non paths converting previously to paths *Allow combine with use elements converting it to paths first *Allow convert to curves use/clone elements converting to curves
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index f01a3c79c..dc378de7c 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -1125,21 +1125,27 @@ void SelectionVerb::perform(SPAction *action, void *data)
bool handled = true;
switch (reinterpret_cast<std::size_t>(data)) {
case SP_VERB_SELECTION_UNION:
+ selection->toCurves(true);
selection->pathUnion();
break;
case SP_VERB_SELECTION_INTERSECT:
+ selection->toCurves(true);
selection->pathIntersect();
break;
case SP_VERB_SELECTION_DIFF:
+ selection->toCurves(true);
selection->pathDiff();
break;
case SP_VERB_SELECTION_SYMDIFF:
+ selection->toCurves(true);
selection->pathSymDiff();
break;
case SP_VERB_SELECTION_CUT:
+ selection->toCurves(true);
selection->pathCut();
break;
case SP_VERB_SELECTION_SLICE:
+ selection->toCurves(true);
selection->pathSlice();
break;
case SP_VERB_SELECTION_GROW:
@@ -1253,6 +1259,7 @@ void SelectionVerb::perform(SPAction *action, void *data)
tools_switch(dt, TOOLS_NODES);
break;
case SP_VERB_SELECTION_OUTLINE:
+ selection->toCurves(true);
sp_selected_path_outline(dt);
break;
case SP_VERB_SELECTION_OUTLINE_LEGACY: