summaryrefslogtreecommitdiffstats
path: root/src/box3d-side.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-06-06 23:04:26 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-06-06 23:04:26 +0000
commit8b890c6c47b79d8a1c6963ee870b127c9667f20d (patch)
tree0baf2fe7917071f71535aed1f841425d3988e744 /src/box3d-side.cpp
parentdisable SPCurve path checking per default as it decreases performance by a lot. (diff)
downloadinkscape-8b890c6c47b79d8a1c6963ee870b127c9667f20d.tar.gz
inkscape-8b890c6c47b79d8a1c6963ee870b127c9667f20d.zip
box3d_side_write now uses curve->get_pathvector instead of get_bpath.
(bzr r5836)
Diffstat (limited to 'src/box3d-side.cpp')
-rw-r--r--src/box3d-side.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/box3d-side.cpp b/src/box3d-side.cpp
index 4bd10e854..fba61e129 100644
--- a/src/box3d-side.cpp
+++ b/src/box3d-side.cpp
@@ -126,11 +126,7 @@ box3d_side_write (SPObject *object, Inkscape::XML::Node *repr, guint flags)
if ( !curve ) {
return NULL;
}
- NArtBpath const *bpath = SP_CURVE_BPATH(curve);
- if ( !bpath ) {
- return NULL;
- }
- char *d = sp_svg_write_path ( bpath );
+ char *d = sp_svg_write_path ( curve->get_pathvector() );
repr->setAttribute("d", d);
g_free (d);