summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-fill-between-many.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-11-02 15:02:59 +0000
committerjabiertxof <info@marker.es>2016-11-02 15:02:59 +0000
commitb49cad5aefd16b340307056a5e959a62548a8fe1 (patch)
tree136126b786f522a0d3838734b63af3d9a39415c3 /src/live_effects/lpe-fill-between-many.cpp
parentClose the bounding box path LPE (diff)
downloadinkscape-b49cad5aefd16b340307056a5e959a62548a8fe1.tar.gz
inkscape-b49cad5aefd16b340307056a5e959a62548a8fe1.zip
Fix fill between many LPE to start up with current path
(bzr r15198)
Diffstat (limited to 'src/live_effects/lpe-fill-between-many.cpp')
-rw-r--r--src/live_effects/lpe-fill-between-many.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/live_effects/lpe-fill-between-many.cpp b/src/live_effects/lpe-fill-between-many.cpp
index ccb9cf56d..2087925fa 100644
--- a/src/live_effects/lpe-fill-between-many.cpp
+++ b/src/live_effects/lpe-fill-between-many.cpp
@@ -57,6 +57,9 @@ void LPEFillBetweenMany::doEffect (SPCurve * curve)
if (!res_pathv.empty()) {
res_pathv.front().close();
}
+ if (res_pathv.empty()) {
+ res_pathv = curve->get_pathvector();
+ }
curve->set_pathvector(res_pathv);
}