summaryrefslogtreecommitdiffstats
path: root/src/sp-path.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2009-03-28 03:04:21 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2009-03-28 03:04:21 +0000
commite9054c57996c8393962573670afdf27d33039af9 (patch)
tree7065f3c893999bf98eee83449b6be9707d2baa9f /src/sp-path.cpp
parentImproved translatable message (diff)
downloadinkscape-e9054c57996c8393962573670afdf27d33039af9.tar.gz
inkscape-e9054c57996c8393962573670afdf27d33039af9.zip
we cannot rely on LPE attributes being properly parsed by the time we read d=; this fixes the undo after a LPE is set or pasted and seems to have no ill effect otherwise (report to me if you find anything suspicious)
(bzr r7580)
Diffstat (limited to 'src/sp-path.cpp')
-rw-r--r--src/sp-path.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sp-path.cpp b/src/sp-path.cpp
index e570030dd..6720823cb 100644
--- a/src/sp-path.cpp
+++ b/src/sp-path.cpp
@@ -275,7 +275,6 @@ sp_path_set(SPObject *object, unsigned int key, gchar const *value)
object->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
break;
case SP_ATTR_D:
- if (!sp_lpe_item_has_path_effect_recursive(SP_LPE_ITEM(path))) {
if (value) {
Geom::PathVector pv = sp_svg_read_pathv(value);
SPCurve *curve = new SPCurve(pv);
@@ -287,7 +286,6 @@ sp_path_set(SPObject *object, unsigned int key, gchar const *value)
sp_shape_set_curve((SPShape *) path, NULL, TRUE);
}
object->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
- }
break;
case SP_PROP_MARKER:
case SP_PROP_MARKER_START: