diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-06-06 23:04:26 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-06-06 23:04:26 +0000 |
| commit | 8b890c6c47b79d8a1c6963ee870b127c9667f20d (patch) | |
| tree | 0baf2fe7917071f71535aed1f841425d3988e744 /src/box3d-side.cpp | |
| parent | disable SPCurve path checking per default as it decreases performance by a lot. (diff) | |
| download | inkscape-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.cpp | 6 |
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); |
