diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-07-11 16:28:14 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-07-11 16:28:14 +0000 |
| commit | 6bbb9c3c43d7fab9e54b6557c96999257a79b080 (patch) | |
| tree | 5311919e711475a37f61b2c2b0e5c61161d06c14 /src/svg/svg-path.cpp | |
| parent | partial update of 2geom (diff) | |
| download | inkscape-6bbb9c3c43d7fab9e54b6557c96999257a79b080.tar.gz inkscape-6bbb9c3c43d7fab9e54b6557c96999257a79b080.zip | |
use new 2geom function. This ensures we cannot end up in infinite loop while converting unexpected 2geom curve types to expected types.
(bzr r6260)
Diffstat (limited to 'src/svg/svg-path.cpp')
| -rw-r--r-- | src/svg/svg-path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/svg-path.cpp b/src/svg/svg-path.cpp index 9c305eebe..1ab70d101 100644 --- a/src/svg/svg-path.cpp +++ b/src/svg/svg-path.cpp @@ -760,7 +760,7 @@ static void sp_svg_write_curve(Inkscape::SVG::PathString & str, Geom::Curve cons str.verticalLineTo( ... ); */ } else { //this case handles sbasis as well as all other curve types - Geom::Path sbasis_path = Geom::path_from_sbasis(c->toSBasis(), 0.1); + Geom::Path sbasis_path = Geom::cubicbezierpath_from_sbasis(c->toSBasis(), 0.1); //recurse to convert the new path resulting from the sbasis to svgd for(Geom::Path::iterator iter = sbasis_path.begin(); iter != sbasis_path.end(); ++iter) { |
