diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2014-08-05 20:57:14 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2014-08-05 20:57:14 +0000 |
| commit | a8c287d1920aec5339b609e9aa3ce297a8f7847d (patch) | |
| tree | 4daa2a4096bc6215c4a760df23a864fbb5ba2c48 /src/2geom/svg-path-parser.cpp | |
| parent | Fix for parsing of incorrect SVG arcs (bug #1330295) (diff) | |
| download | inkscape-a8c287d1920aec5339b609e9aa3ce297a8f7847d.tar.gz inkscape-a8c287d1920aec5339b609e9aa3ce297a8f7847d.zip | |
supplemental change to lp:inkscape rev13492 (ignore arc segments when start and endpoint are equal (within error range)
Fixed bugs:
- https://launchpad.net/bugs/1330295
(bzr r13493)
Diffstat (limited to 'src/2geom/svg-path-parser.cpp')
| -rw-r--r-- | src/2geom/svg-path-parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/svg-path-parser.cpp b/src/2geom/svg-path-parser.cpp index 811a04c3c..932f95829 100644 --- a/src/2geom/svg-path-parser.cpp +++ b/src/2geom/svg-path-parser.cpp @@ -128,7 +128,7 @@ private: void _arcTo(double rx, double ry, double angle, bool large_arc, bool sweep, Point p) { - if (_current == p) { + if (are_near(_current, p)) { return; } _quad_tangent = _cubic_tangent = _current = p; |
