summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/originalpatharray.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-02-20 21:27:51 +0000
committerJabiertxof <jtx@jtx>2017-02-20 21:27:51 +0000
commit43d7f36a9bc533b98ebaf38d24fb2331844a049a (patch)
treee8283c9f3f347110a57766b57cb021e1c41a8e17 /src/live_effects/parameter/originalpatharray.cpp
parentCMake: Generate a dummy file in hicolor/index.theme to avoid bug 1659336 on W... (diff)
downloadinkscape-43d7f36a9bc533b98ebaf38d24fb2331844a049a.tar.gz
inkscape-43d7f36a9bc533b98ebaf38d24fb2331844a049a.zip
This patch fixes the bug #1664632.
Realy fixes two path parameters what are using "original-d" path data instead "d" on link paths. This parameters are used in a few LPE and all of them get better/wanted result than previous beabiour. With this fixed, we can use the fill between many LPE to archive the wanted effect of a path mixed of Bezier,BSpline and Spiro. Here are a pic with the archived result fixing the bug:https://inkscape.org/en/~jabiertxof/%E2%98%85fix-bug-1664632 Today in IRC logs about 21:30 I do a full inform about this. Fixed bugs: - https://launchpad.net/bugs/1664632 (bzr r15536)
Diffstat (limited to 'src/live_effects/parameter/originalpatharray.cpp')
-rw-r--r--src/live_effects/parameter/originalpatharray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/parameter/originalpatharray.cpp b/src/live_effects/parameter/originalpatharray.cpp
index 083abc94c..693821ed2 100644
--- a/src/live_effects/parameter/originalpatharray.cpp
+++ b/src/live_effects/parameter/originalpatharray.cpp
@@ -386,7 +386,7 @@ void OriginalPathArrayParam::setPathVector(SPObject *linked_obj, guint /*flags*/
}
SPCurve *curve = NULL;
if (SP_IS_SHAPE(linked_obj)) {
- curve = SP_SHAPE(linked_obj)->getCurveBeforeLPE();
+ curve = SP_SHAPE(linked_obj)->getCurve();
}
if (SP_IS_TEXT(linked_obj)) {
curve = SP_TEXT(linked_obj)->getNormalizedBpath();