diff options
| author | octycs <2087987-octycs@users.noreply.gitlab.com> | 2019-06-12 20:07:17 +0000 |
|---|---|---|
| committer | octycs <2087987-octycs@users.noreply.gitlab.com> | 2019-06-20 12:42:50 +0000 |
| commit | 3b73fa72482daa0bb83790fd9cce8fa7c955c114 (patch) | |
| tree | 426b16628764c467a8139f41e3c77d1e8dc00eed /src | |
| parent | Remove unused code. (diff) | |
| download | inkscape-3b73fa72482daa0bb83790fd9cce8fa7c955c114.tar.gz inkscape-3b73fa72482daa0bb83790fd9cce8fa7c955c114.zip | |
Fix bounding box cache invalidation for filters
Diffstat (limited to 'src')
| -rw-r--r-- | src/object/sp-shape.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
