From 9c7307d8501ddaeb177fe4dd1f78a202cd10b497 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Thu, 14 May 2009 19:45:39 +0000 Subject: [PATCH] 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) --- src/sp-path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)*/ -- 2.39.5