From 3b73fa72482daa0bb83790fd9cce8fa7c955c114 Mon Sep 17 00:00:00 2001 From: octycs <2087987-octycs@users.noreply.gitlab.com> Date: Wed, 12 Jun 2019 22:07:17 +0200 Subject: Fix bounding box cache invalidation for filters --- src/object/sp-shape.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/object') diff --git a/src/object/sp-shape.cpp b/src/object/sp-shape.cpp index eb4c01e54..011dc9edc 100644 --- a/src/object/sp-shape.cpp +++ b/src/object/sp-shape.cpp @@ -118,13 +118,13 @@ Inkscape::XML::Node* SPShape::write(Inkscape::XML::Document *xml_doc, Inkscape:: } void SPShape::update(SPCtx* ctx, guint flags) { - // std::cout << "SPShape::update(): " << (getId()?getId():"null") << std::endl; - SPLPEItem::update(ctx, flags); - // Any update can change the bounding box, // so the cached version can no longer be used. bbox_cache_is_valid = false; + // std::cout << "SPShape::update(): " << (getId()?getId():"null") << std::endl; + SPLPEItem::update(ctx, flags); + /* This stanza checks that an object's marker style agrees with * the marker objects it has allocated. sp_shape_set_marker ensures * that the appropriate marker objects are present (or absent) to -- cgit v1.2.3