From 04f36a8bd5a7802502cea41eefc32d9cae01c28a Mon Sep 17 00:00:00 2001 From: johanengelen Date: Sun, 22 Jun 2008 17:32:08 +0000 Subject: [PATCH] use pathvector directly from SPCurve in LPE path parameter. --- src/live_effects/parameter/path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.30.2