From 0ce00d29e30c18e324ec2d9430a196dba806e44f Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Thu, 14 May 2009 19:45:39 +0000 Subject: fix broken rendering of paths with unknown LPEs, fix rendering of paths in a group with an LPE. (this is related to r20988 and r21013) (bzr r7880) --- src/sp-path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-path.cpp') diff --git a/src/sp-path.cpp b/src/sp-path.cpp index 635cb6a98..04ad386d9 100644 --- a/src/sp-path.cpp +++ b/src/sp-path.cpp @@ -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) { + if (path->original_curve && sp_lpe_item_has_path_effect_recursive(lpeitem)) { 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)*/ -- cgit v1.2.3