summaryrefslogtreecommitdiffstats
path: root/src/object/sp-lpe-item.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-04-15 21:57:46 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-04-23 21:37:56 +0000
commit68b814629fa76cca0e2bdb36dfd1aa0d09e1ce7f (patch)
tree3fd3ba1952ed5dac5d15e50c52cc7c93c63db2b5 /src/object/sp-lpe-item.cpp
parentRevert TAV d work for testing (diff)
downloadinkscape-68b814629fa76cca0e2bdb36dfd1aa0d09e1ce7f.tar.gz
inkscape-68b814629fa76cca0e2bdb36dfd1aa0d09e1ce7f.zip
Noumerous bugfixes pointed by Lazur on IRC
Diffstat (limited to 'src/object/sp-lpe-item.cpp')
-rw-r--r--src/object/sp-lpe-item.cpp7
1 files changed, 3 insertions, 4 deletions
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) {