diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2015-05-08 12:41:06 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2015-05-08 12:41:06 +0000 |
| commit | 6ae198bfe51ef5c850e2fc27f9f811f9f2acd655 (patch) | |
| tree | fa0d0eb297b4c5a14359a941d77f13b09636e2e5 /src | |
| parent | Fix ellipse problems (diff) | |
| download | inkscape-6ae198bfe51ef5c850e2fc27f9f811f9f2acd655.tar.gz inkscape-6ae198bfe51ef5c850e2fc27f9f811f9f2acd655.zip | |
Fix path conversion between 2Geom and Livarot
(bzr r14059.2.6)
Diffstat (limited to 'src')
| -rw-r--r-- | src/livarot/PathCutting.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/livarot/PathCutting.cpp b/src/livarot/PathCutting.cpp index 12f2386b0..d6ad6c94a 100644 --- a/src/livarot/PathCutting.cpp +++ b/src/livarot/PathCutting.cpp @@ -434,17 +434,11 @@ void Path::LoadPath(Geom::Path const &path, Geom::Affine const &tr, bool doTran MoveTo( pathtr.initialPoint() ); - for(Geom::Path::const_iterator cit = pathtr.begin(); cit != pathtr.end_open(); ++cit) { + for(Geom::Path::const_iterator cit = pathtr.begin(); cit != pathtr.end(); ++cit) { AddCurve(*cit); } if (pathtr.closed()) { - // check if closing segment is empty before adding it - Geom::Curve const &crv = pathtr.back_closed(); - if ( !crv.isDegenerate() ) { - AddCurve(crv); - } - Close(); } } |
