X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fnodepath.cpp;h=b712539ab767f78f872a3fb550c54095ae7f1f9f;hb=876aa46cb01ee981a0a6dcc39af6fdace7be56bc;hp=8f4f9a7e735d87ea4223ecc2622cbf026d11cec3;hpb=0177e79fe75baf752de17abf0ee220ce3dc2220f;p=inkscape.git diff --git a/src/nodepath.cpp b/src/nodepath.cpp index 8f4f9a7e7..b712539ab 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()); if (np->livarot_path) np->livarot_path->ConvertWithBackData(0.01);