summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b256e28)
raw | patch | inline | side by side (parent: b256e28)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 14 May 2009 19:45:39 +0000 (19:45 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 14 May 2009 19:45:39 +0000 (19:45 +0000) |
(this is related to r20988 and r21013)
src/sp-path.cpp | patch | blob | history |
diff --git a/src/sp-path.cpp b/src/sp-path.cpp
index 635cb6a9874d467fcfae0145042411849fd81b49..04ad386d9a0fb18cf63726c96d3d9b8397452abe 100644 (file)
--- a/src/sp-path.cpp
+++ b/src/sp-path.cpp
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)*/