diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2018-10-12 08:22:54 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2018-10-12 08:22:54 +0000 |
| commit | 6ea480ced147f2c8ce55aa7f729fe8ad49f78118 (patch) | |
| tree | deba9076a28103c766b4367766a910cf3462cf27 /src/object/sp-item.cpp | |
| parent | Hopefully last fix for e4c44f8b4674b88c0174270f27d61db808f66bc6 (diff) | |
| download | inkscape-6ea480ced147f2c8ce55aa7f729fe8ad49f78118.tar.gz inkscape-6ea480ced147f2c8ce55aa7f729fe8ad49f78118.zip | |
fix masked object's selection bbox
Diffstat (limited to 'src/object/sp-item.cpp')
| -rw-r--r-- | src/object/sp-item.cpp | 4 |
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; } |
