summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2014-08-04 17:23:56 +0000
committerapenner <penner@vaxxine.com>2014-08-04 17:23:56 +0000
commit6c4eb87454986e1e4c680b7b7f8fe8a166b25cda (patch)
tree7b47de5137eff689bbb566f3531dd159525e9732
parentAdd context to TODO comment (diff)
downloadinkscape-6c4eb87454986e1e4c680b7b7f8fe8a166b25cda.tar.gz
inkscape-6c4eb87454986e1e4c680b7b7f8fe8a166b25cda.zip
refresh bbox of clipped clone (Bug 1349018)
Fixed bugs: - https://launchpad.net/bugs/1349018 (bzr r13491)
-rw-r--r--src/sp-item.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index 780845deb..0cacc86b1 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -778,6 +778,7 @@ Geom::OptRect SPItem::visualBounds(Geom::Affine const &transform) const
bbox = const_cast<SPItem*>(this)->bbox(transform, SPItem::VISUAL_BBOX);
}
if (clip_ref->getObject()) {
+ SP_ITEM(clip_ref->getOwner())->bbox_valid = FALSE; // LP Bug 1349018
bbox.intersectWith(SP_CLIPPATH(clip_ref->getObject())->geometricBounds(transform));
}