summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorJabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es>2017-09-13 15:10:44 +0000
committerJabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es>2017-09-13 15:10:44 +0000
commitb5d3bcd190a8b4c95613eeb82e2b768b08b693ce (patch)
treee8bf377ac1a28cfadc399bb4d7d603c84b230ba8 /src/selection-chemistry.cpp
parentImprove rendering of vertical text with non-spacing marks in upright orientat... (diff)
downloadinkscape-b5d3bcd190a8b4c95613eeb82e2b768b08b693ce.tar.gz
inkscape-b5d3bcd190a8b4c95613eeb82e2b768b08b693ce.zip
Fixes for clone original LPE
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index f23a49500..9764563f1 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -2915,7 +2915,7 @@ void ObjectSet::cloneOriginal()
}
/**
-* This creates a new path, applies the Original Path LPE, and has it refer to the selection.
+* This applies the Fill Between Many LPE, and has it refer to the selection.
*/
void ObjectSet::cloneOriginalPathLPE(bool allow_transforms)
{
@@ -2942,7 +2942,9 @@ void ObjectSet::cloneOriginalPathLPE(bool allow_transforms)
{
lpe_repr->setAttribute("effect", "fill_between_many");
lpe_repr->setAttribute("linkedpaths", os.str());
- lpe_repr->setAttribute("original_visible", "false");
+ lpe_repr->setAttribute("applied", "true");
+ gchar const *method_str = allow_transforms ? "all" : "partial";
+ lpe_repr->setAttribute("method", method_str);
gchar const *allow_transforms_str = allow_transforms ? "true" : "false";
lpe_repr->setAttribute("allow_transforms", allow_transforms_str);
document()->getDefs()->getRepr()->addChild(lpe_repr, NULL); // adds to <defs> and assigns the 'id' attribute