From 68b814629fa76cca0e2bdb36dfd1aa0d09e1ce7f Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Sun, 15 Apr 2018 23:57:46 +0200 Subject: Noumerous bugfixes pointed by Lazur on IRC --- src/object/sp-lpe-item.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/object/sp-lpe-item.cpp') diff --git a/src/object/sp-lpe-item.cpp b/src/object/sp-lpe-item.cpp index 7ff0a88d6..7b90319ab 100644 --- a/src/object/sp-lpe-item.cpp +++ b/src/object/sp-lpe-item.cpp @@ -170,11 +170,10 @@ void SPLPEItem::update(SPCtx* ctx, unsigned int flags) { } void SPLPEItem::modified(unsigned int flags) { - //TODO: remove if no regressions //stop update when modified and make the effect update on the LPE transform method if the effect require it - //if (SP_IS_GROUP(this) && (flags & SP_OBJECT_MODIFIED_FLAG) && (flags & SP_OBJECT_USER_MODIFIED_FLAG_B)) { - // sp_lpe_item_update_patheffect(this, true, true); - //} + if (SP_IS_GROUP(this) && (flags & SP_OBJECT_MODIFIED_FLAG) && (flags & SP_OBJECT_USER_MODIFIED_FLAG_B)) { + this->update_patheffect(false); + } } Inkscape::XML::Node* SPLPEItem::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) { -- cgit v1.2.3