summaryrefslogtreecommitdiffstats
path: root/src/object
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-09-17 08:34:28 +0000
committerJabiertxof <jabier.arraiza@marker.es>2019-09-17 08:34:28 +0000
commit4cd091fd701e04b44aca41b16b310523494bc76f (patch)
tree4eaaccd9af3dc4d5d56b3bf4de7257390fb02113 /src/object
parentActually fix overflow (diff)
downloadinkscape-4cd091fd701e04b44aca41b16b310523494bc76f.tar.gz
inkscape-4cd091fd701e04b44aca41b16b310523494bc76f.zip
Allow transforms in rects with LPE
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);