summaryrefslogtreecommitdiffstats
path: root/src/object/sp-item.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-10-01 01:10:05 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-10-01 01:10:05 +0000
commit89b763d897e805a577f81dc0dccab4b75eb253cf (patch)
tree88cf5fee43de1ac9647134cea9528a271410bb9f /src/object/sp-item.cpp
parentImprove calls to document_units (diff)
downloadinkscape-89b763d897e805a577f81dc0dccab4b75eb253cf.tar.gz
inkscape-89b763d897e805a577f81dc0dccab4b75eb253cf.zip
Improvements to transforms in LPE
Diffstat (limited to 'src/object/sp-item.cpp')
-rw-r--r--src/object/sp-item.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp
index 4b5858f7e..b7cd69c7f 100644
--- a/src/object/sp-item.cpp
+++ b/src/object/sp-item.cpp
@@ -1513,12 +1513,14 @@ void SPItem::doWriteTransform(Geom::Affine const &transform, Geom::Affine const
)
{
transform_attr = this->set_transform(transform);
+ if (lpeitem && lpeitem->hasPathEffectRecursive()) {
+ lpeitem->adjust_livepatheffect(transform_attr);
+ }
if (freeze_stroke_width) {
freeze_stroke_width_recursive(false);
}
-
} else {
- if (lpeitem && lpeitem->hasPathEffectRecursive()) {
+ if (!preserve && lpeitem && lpeitem->hasPathEffectRecursive()) {
lpeitem->adjust_livepatheffect(transform_attr);
}
if (freeze_stroke_width) {