diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-04-17 09:15:33 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-04-17 09:15:33 +0000 |
| commit | 88c4340409976448600efbfaf7a77f1208a53327 (patch) | |
| tree | d27ebb6a1e1e6ce247216b079c46534ace270b11 /src | |
| parent | use the user-specified bounding box type (diff) | |
| download | inkscape-88c4340409976448600efbfaf7a77f1208a53327.tar.gz inkscape-88c4340409976448600efbfaf7a77f1208a53327.zip | |
update to latest 2geom. fixes LPE's ignoring the closing segment of a closed path
(bzr r5461)
Diffstat (limited to 'src')
| -rw-r--r-- | src/2geom/path.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/path.h b/src/2geom/path.h index fee96a86a..5eecbff0b 100644 --- a/src/2geom/path.h +++ b/src/2geom/path.h @@ -637,8 +637,8 @@ public: Piecewise<D2<SBasis> > ret; ret.push_cut(0); unsigned i = 1; - // ignore that path is closed or open. pw<d2<>> is always open. - for(const_iterator it = begin(); it != end(); ++it) { + // pw<d2<>> is always open. so if path is closed, add closing segment as well to pwd2. + for(const_iterator it = begin(); it != end_default(); ++it) { if (!it->isDegenerate()) { ret.push(it->toSBasis(), i++); } |
