summaryrefslogtreecommitdiffstats
path: root/src/livarot/PathCutting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/livarot/PathCutting.cpp')
-rw-r--r--src/livarot/PathCutting.cpp8
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();
}
}