Commit 5799d73f authored by Nathan Lee's avatar Nathan Lee

Update bounding box when mask removed

Copy logic for clipping. Fixes
#715

(cherry-picked from 7033a031)
parent 4fa58e65
Pipeline #173254207 passed with stages
in 74 minutes and 57 seconds
......@@ -574,6 +574,7 @@ void SPItem::clip_ref_changed(SPObject *old_clip, SPObject *clip, SPItem *item)
void SPItem::mask_ref_changed(SPObject *old_mask, SPObject *mask, SPItem *item)
{
item->bbox_valid = FALSE; // force a re-evaluation
if (old_mask) {
/* Hide mask */
for (SPItemView *v = item->display; v != nullptr; v = v->next) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment