summaryrefslogtreecommitdiffstats
path: root/src/nodepath.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-06-26 15:17:50 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-06-26 15:17:50 +0000
commitd18c838f2506fc70cc48dc30d6ecabf2a73f88ad (patch)
treea1237dd9f4ae6d970ce14210a0a94c2d818ccb52 /src/nodepath.cpp
parentuse all 2geom typed pathv_matrix_point_bbox_wind_distance (diff)
downloadinkscape-d18c838f2506fc70cc48dc30d6ecabf2a73f88ad.tar.gz
inkscape-d18c838f2506fc70cc48dc30d6ecabf2a73f88ad.zip
don't use splivarot to get livarot path, just use LoadPathVector method
(bzr r6073)
Diffstat (limited to 'src/nodepath.cpp')
-rw-r--r--src/nodepath.cpp4
1 files 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);