Code

we cannot rely on LPE attributes being properly parsed by the time we read d=; this...
authorbuliabyak <buliabyak@users.sourceforge.net>
Sat, 28 Mar 2009 03:04:21 +0000 (03:04 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sat, 28 Mar 2009 03:04:21 +0000 (03:04 +0000)
src/sp-path.cpp

index e570030dd439869b1a8dcd27d5187e7561672a46..6720823cb9a41606e7446086bae54a6bc76fea7a 100644 (file)
@@ -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: