diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2018-10-24 15:09:40 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2018-10-25 07:48:24 +0000 |
| commit | d1a433541404783eb5bf87caf20b8484808a8c1b (patch) | |
| tree | 4b2883fa8fa0307e1a114f0776e9bdea39a1ee69 /src/object/sp-ellipse.cpp | |
| parent | Fixing coding style (diff) | |
| download | inkscape-d1a433541404783eb5bf87caf20b8484808a8c1b.tar.gz inkscape-d1a433541404783eb5bf87caf20b8484808a8c1b.zip | |
Fix closing issues
Diffstat (limited to 'src/object/sp-ellipse.cpp')
| -rw-r--r-- | src/object/sp-ellipse.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/object/sp-ellipse.cpp b/src/object/sp-ellipse.cpp index daa3148ef..3007558e7 100644 --- a/src/object/sp-ellipse.cpp +++ b/src/object/sp-ellipse.cpp @@ -461,11 +461,14 @@ void SPGenericEllipse::set_shape() if (this->_isSlice() && this->arc_type == SP_GENERIC_ELLIPSE_ARC_TYPE_SLICE) { pb.lineTo(Geom::Point(0, 0)); } - if ( !(this->arc_type == SP_GENERIC_ELLIPSE_ARC_TYPE_ARC) ) { - pb.closePath(); - } else { - pb.flush(); - } +// If convert to paths ellipses become unclosed so comment this and call "closePath" +// Remove later +// if ( !(this->arc_type == SP_GENERIC_ELLIPSE_ARC_TYPE_ARC) ) { +// pb.closePath(); +// } else { +// pb.flush(); +// } + pb.closePath(); c = new SPCurve(pb.peek()); // gchar *str = sp_svg_write_path(curve->get_pathvector()); |
