summaryrefslogtreecommitdiffstats
path: root/src/object/sp-item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-item.cpp')
-rw-r--r--src/object/sp-item.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp
index 4c0538928..e384c7dc6 100644
--- a/src/object/sp-item.cpp
+++ b/src/object/sp-item.cpp
@@ -861,6 +861,10 @@ Geom::OptRect SPItem::visualBounds(Geom::Affine const &transform) const
ownerItem->bbox_valid = FALSE; // LP Bug 1349018
bbox.intersectWith(clip_ref->getObject()->geometricBounds(transform));
}
+ if (mask_ref->getObject()) {
+ bbox_valid = false; // LP Bug 1349018
+ bbox.intersectWith(mask_ref->getObject()->visualBounds(transform));
+ }
return bbox;
}