summaryrefslogtreecommitdiffstats
path: root/src/sp-path.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2017-02-21 14:16:20 +0000
committerjabiertxof <info@marker.es>2017-02-21 14:16:20 +0000
commit960d9ec3486bc6c7a106ce78a25de4b3cac823bf (patch)
treef9e22144fd1b94b55665d8be4aa66295ec71e94e /src/sp-path.cpp
parentThis patch fixes the bug #1664632. (diff)
downloadinkscape-960d9ec3486bc6c7a106ce78a25de4b3cac823bf.tar.gz
inkscape-960d9ec3486bc6c7a106ce78a25de4b3cac823bf.zip
Improvements to fill between strokes and fill between many LPE's
(bzr r15537)
Diffstat (limited to 'src/sp-path.cpp')
-rw-r--r--src/sp-path.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sp-path.cpp b/src/sp-path.cpp
index b593b7937..c6ec5559e 100644
--- a/src/sp-path.cpp
+++ b/src/sp-path.cpp
@@ -292,9 +292,14 @@ Geom::Affine SPPath::set_transform(Geom::Affine const &transform) {
// Transform the original-d path if this is a valid LPE this, other else the (ordinary) path
if (_curve_before_lpe && hasPathEffectRecursive()) {
- if (this->hasPathEffectOfType(Inkscape::LivePathEffect::CLONE_ORIGINAL) || this->hasPathEffectOfType(Inkscape::LivePathEffect::BEND_PATH)) {
+ if (this->hasPathEffectOfType(Inkscape::LivePathEffect::CLONE_ORIGINAL) ||
+ this->hasPathEffectOfType(Inkscape::LivePathEffect::BEND_PATH) ||
+ this->hasPathEffectOfType(Inkscape::LivePathEffect::FILL_BETWEEN_MANY) ||
+ this->hasPathEffectOfType(Inkscape::LivePathEffect::FILL_BETWEEN_STROKES) )
+ {
// if path has the CLONE_ORIGINAL LPE applied, don't write the transform to the pathdata, but write it 'unoptimized'
// also if the effect is type BEND PATH to fix bug #179842
+ this->adjust_livepatheffect(transform);
return transform;
} else {
_curve_before_lpe->transform(transform);