summaryrefslogtreecommitdiffstats
path: root/src/sp-path.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2009-05-14 19:45:39 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2009-05-14 19:45:39 +0000
commit0ce00d29e30c18e324ec2d9430a196dba806e44f (patch)
treea633b6f7630c850aeec8df1ddf2a9ec82f74797a /src/sp-path.cpp
parentSetting Alpha paint to Composite in for more consistency, sorry I missed it (diff)
downloadinkscape-0ce00d29e30c18e324ec2d9430a196dba806e44f.tar.gz
inkscape-0ce00d29e30c18e324ec2d9430a196dba806e44f.zip
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)
Diffstat (limited to 'src/sp-path.cpp')
-rw-r--r--src/sp-path.cpp2
1 files changed, 1 insertions, 1 deletions
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)*/