From: johanengelen Date: Thu, 26 Jun 2008 15:17:50 +0000 (+0000) Subject: don't use splivarot to get livarot path, just use LoadPathVector method X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=77d340b5ec3161e4bf6408395741466abde32dc1;p=inkscape.git don't use splivarot to get livarot path, just use LoadPathVector method --- 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);