summaryrefslogtreecommitdiffstats
path: root/src/object
diff options
context:
space:
mode:
Diffstat (limited to 'src/object')
-rw-r--r--src/object/sp-rect.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/object/sp-rect.cpp b/src/object/sp-rect.cpp
index 0988d22c0..de394b3f3 100644
--- a/src/object/sp-rect.cpp
+++ b/src/object/sp-rect.cpp
@@ -336,6 +336,9 @@ void SPRect::update_patheffect(bool write) {
}
Geom::Affine SPRect::set_transform(Geom::Affine const& xform) {
+ if (hasPathEffectRecursive() && pathEffectsEnabled()) {
+ return xform;
+ }
/* Calculate rect start in parent coords. */
Geom::Point pos(Geom::Point(this->x.computed, this->y.computed) * xform);