summaryrefslogtreecommitdiffstats
path: root/src/object/sp-item.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-04-14 16:50:20 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-04-14 16:50:20 +0000
commit75fa525a68af3ac9826dca66f00fb01f6efa3c51 (patch)
tree3c866e9cb68cbef7572cd79ce9eb687d9f97c050 /src/object/sp-item.cpp
parentAdd files missing in last commit (FontSelector). (diff)
downloadinkscape-75fa525a68af3ac9826dca66f00fb01f6efa3c51.tar.gz
inkscape-75fa525a68af3ac9826dca66f00fb01f6efa3c51.zip
Fixes to transforms on LPE
Diffstat (limited to 'src/object/sp-item.cpp')
-rw-r--r--src/object/sp-item.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp
index a228d9313..4b4d3e7cd 100644
--- a/src/object/sp-item.cpp
+++ b/src/object/sp-item.cpp
@@ -1536,14 +1536,17 @@ void SPItem::doWriteTransform(Geom::Affine const &transform, Geom::Affine const
}
set_item_transform(transform_attr);
-
-
// Note: updateRepr comes before emitting the transformed signal since
// it causes clone SPUse's copy of the original object to brought up to
// date with the original. Otherwise, sp_use_bbox returns incorrect
// values if called in code handling the transformed signal.
updateRepr();
+ SPLPEItem * lpeitem = SP_LPE_ITEM(this);
+ if (lpeitem && lpeitem->hasPathEffectRecursive()) {
+ sp_lpe_item_update_patheffect(lpeitem, false, false);
+ }
+
// send the relative transform with a _transformed_signal
_transformed_signal.emit(&advertized_transform, this);
}