summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/freehand-base.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-03-14 22:02:47 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-03-26 17:48:34 +0000
commit01b27a996de7aa03e5ec7b961ffd7d0f2e8625c6 (patch)
treee1ebbf6b158fbe8d308e2f5518c90cd17c182fb5 /src/ui/tools/freehand-base.cpp
parentAllow path move (diff)
downloadinkscape-01b27a996de7aa03e5ec7b961ffd7d0f2e8625c6.tar.gz
inkscape-01b27a996de7aa03e5ec7b961ffd7d0f2e8625c6.zip
Allow upadate shapen innside groups with LPE
Diffstat (limited to 'src/ui/tools/freehand-base.cpp')
-rw-r--r--src/ui/tools/freehand-base.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/tools/freehand-base.cpp b/src/ui/tools/freehand-base.cpp
index 76aff2c0e..974a97995 100644
--- a/src/ui/tools/freehand-base.cpp
+++ b/src/ui/tools/freehand-base.cpp
@@ -588,7 +588,10 @@ static void spdc_check_for_and_apply_waiting_LPE(FreehandBase *dc, SPItem *item,
sp_repr_css_attr_unref(css);
return;
}
-
+ SPLPEItem * lpeitem = dynamic_cast<SPLPEItem *>(item);
+ if (!lpeitem->hasPathEffect() && lpeitem->hasPathEffectRecursive()) {
+ sp_lpe_item_update_patheffect (lpeitem, true, false);
+ }
if (dc->waiting_LPE_type != INVALID_LPE) {
Effect::createAndApply(dc->waiting_LPE_type, dc->desktop->doc(), item);
dc->waiting_LPE_type = INVALID_LPE;