From: johanengelen Date: Thu, 14 May 2009 19:45:39 +0000 (+0000) Subject: fix broken rendering of paths with unknown LPEs, fix rendering of paths in a group... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9c7307d8501ddaeb177fe4dd1f78a202cd10b497;p=inkscape.git 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) --- 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)*/