Code

revert part of 20988 to fix rendering of LPE on groups
authorbuliabyak <buliabyak@users.sourceforge.net>
Sun, 29 Mar 2009 18:18:24 +0000 (18:18 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sun, 29 Mar 2009 18:18:24 +0000 (18:18 +0000)
src/sp-path.cpp

index 6720823cb9a41606e7446086bae54a6bc76fea7a..635cb6a9874d467fcfae0145042411849fd81b49 100644 (file)
@@ -409,7 +409,7 @@ sp_path_update_patheffect(SPLPEItem *lpeitem, bool write)
     SPPath * const path = (SPPath *) lpeitem;
     Inkscape::XML::Node *repr = SP_OBJECT_REPR(shape);
 
-    if (path->original_curve && sp_lpe_item_has_path_effect(lpeitem)) {
+    if (path->original_curve) {
         SPCurve *curve = path->original_curve->copy();
         /* if a path does not have an lpeitem applied, then reset the curve to the original_curve.
          * This is very important for LPEs to work properly! (the bbox might be recalculated depending on the curve in shape)*/