summaryrefslogtreecommitdiffstats
path: root/src/sp-path.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-09-08 21:04:30 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-09-08 21:04:30 +0000
commit5eced68ddae648e23fa4419e8032e2b995c1ed22 (patch)
treee64ecd3f925aa970cd42086263329294984cdb65 /src/sp-path.cpp
parentFix for bug 1492711 (diff)
downloadinkscape-5eced68ddae648e23fa4419e8032e2b995c1ed22.tar.gz
inkscape-5eced68ddae648e23fa4419e8032e2b995c1ed22.zip
Fix for bug 179842
Fixed bugs: - https://launchpad.net/bugs/179842 (bzr r14352)
Diffstat (limited to 'src/sp-path.cpp')
-rw-r--r--src/sp-path.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp-path.cpp b/src/sp-path.cpp
index cabed0467..c4d24c503 100644
--- a/src/sp-path.cpp
+++ b/src/sp-path.cpp
@@ -294,8 +294,9 @@ 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)) {
+ if (this->hasPathEffectOfType(Inkscape::LivePathEffect::CLONE_ORIGINAL) || this->hasPathEffectOfType(Inkscape::LivePathEffect::BEND_PATH)) {
// 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
return transform;
} else {
_curve_before_lpe->transform(transform);