summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-06-22 17:32:08 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-06-22 17:32:08 +0000
commit1cfa6582e70041783a1bc4d83ff1acd6bc85ebf3 (patch)
treead99b88c27c12924a2817da978254e904065488e /src
parentbetter method to convert nartbpath to PathVector (diff)
downloadinkscape-1cfa6582e70041783a1bc4d83ff1acd6bc85ebf3.tar.gz
inkscape-1cfa6582e70041783a1bc4d83ff1acd6bc85ebf3.zip
use pathvector directly from SPCurve in LPE path parameter.
(bzr r6015)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/parameter/path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp
index 759e9f788..295e40b7a 100644
--- a/src/live_effects/parameter/path.cpp
+++ b/src/live_effects/parameter/path.cpp
@@ -326,7 +326,7 @@ PathParam::linked_modified(SPObject *linked_obj, guint /*flags*/)
// curve invalid, set default value
_pathvector = sp_svg_read_pathv(defvalue);
} else {
- _pathvector = BPath_to_2GeomPath(SP_CURVE_BPATH(curve));
+ _pathvector = curve->get_pathvector();
curve->unref();
}