From 77d340b5ec3161e4bf6408395741466abde32dc1 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Thu, 26 Jun 2008 15:17:50 +0000 Subject: [PATCH] don't use splivarot to get livarot path, just use LoadPathVector method --- src/nodepath.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nodepath.cpp b/src/nodepath.cpp index 8f4f9a7e7..f4be1c30c 100644 --- a/src/nodepath.cpp +++ b/src/nodepath.cpp @@ -341,8 +341,8 @@ void sp_nodepath_ensure_livarot_path(Inkscape::NodePath::Path *np) { if (np && np->livarot_path == NULL) { SPCurve *curve = create_curve(np); - NArtBpath const *bpath = SP_CURVE_BPATH(curve); - np->livarot_path = bpath_to_Path(bpath); + np->livarot_path = new Path; + np->livarot_path->LoadPathVector(curve->get_pathvector(), Geom::Matrix(), false); if (np->livarot_path) np->livarot_path->ConvertWithBackData(0.01); -- 2.30.2