summaryrefslogtreecommitdiffstats
path: root/src/sp-lpe-item.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-05-01 01:15:26 +0000
committerJabiertxof <jtx@jtx>2017-05-01 01:15:26 +0000
commita3d1689c18ebf132acb7ae0501ec419a71e48a85 (patch)
treeb87e51c096928abb77f590986e5101ae0ac65d1a /src/sp-lpe-item.cpp
parentRelax any hardcoded limit from the libxml2 parser when creating documents fro... (diff)
downloadinkscape-a3d1689c18ebf132acb7ae0501ec419a71e48a85.tar.gz
inkscape-a3d1689c18ebf132acb7ae0501ec419a71e48a85.zip
Fix erase lpe in multi LPE mode
Improve rendering widgets, simplify the code, redraw widgets each time not only on odd iterations (bzr r15655)
Diffstat (limited to 'src/sp-lpe-item.cpp')
-rw-r--r--src/sp-lpe-item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp
index ca0f78a00..b5c89b69d 100644
--- a/src/sp-lpe-item.cpp
+++ b/src/sp-lpe-item.cpp
@@ -493,8 +493,8 @@ void SPLPEItem::removeCurrentPathEffect(bool keep_paths)
}
PathEffectList new_list = *this->path_effect_list;
new_list.remove(lperef); //current lpe ref is always our 'own' pointer from the path_effect_list
+ *this->path_effect_list = new_list;
this->getRepr()->setAttribute("inkscape:path-effect", patheffectlist_svg_string(new_list));
-
if (!keep_paths) {
// Make sure that ellipse is stored as <svg:circle> or <svg:ellipse> if possible.
if( SP_IS_GENERICELLIPSE(this)) {