From 4cd091fd701e04b44aca41b16b310523494bc76f Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Tue, 17 Sep 2019 10:34:28 +0200 Subject: Allow transforms in rects with LPE --- src/object/sp-rect.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/object') 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); -- cgit v1.2.3