summaryrefslogtreecommitdiffstats
path: root/src/sp-mask.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2015-05-08 22:04:46 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2015-05-08 22:04:46 +0000
commit76268cdf97916d0de571586ff1111b90c1a65286 (patch)
tree9fa73cbd2201ef565abd5bf207092e3f8e602acd /src/sp-mask.cpp
parentfix for bug 168013 and its mask counterpart (diff)
downloadinkscape-76268cdf97916d0de571586ff1111b90c1a65286.tar.gz
inkscape-76268cdf97916d0de571586ff1111b90c1a65286.zip
fixes various bugs with clipping and masking
Fixed bugs: - https://launchpad.net/bugs/569281 - https://launchpad.net/bugs/1319171 - https://launchpad.net/bugs/1177650 (bzr r14130)
Diffstat (limited to 'src/sp-mask.cpp')
-rw-r--r--src/sp-mask.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sp-mask.cpp b/src/sp-mask.cpp
index d60473e1d..c36c3c005 100644
--- a/src/sp-mask.cpp
+++ b/src/sp-mask.cpp
@@ -226,8 +226,7 @@ sp_mask_create (GSList *reprs, SPDocument *document, Geom::Affine const* applyTr
SPItem *item = SP_ITEM(mask_object->appendChildRepr(node));
if (NULL != applyTransform) {
- Geom::Affine transform (item->transform);
- transform *= (*applyTransform);
+ Geom::Affine transform (item->transform * (*applyTransform));
item->doWriteTransform(item->getRepr(), transform);
}
}