diff options
Diffstat (limited to 'src/object')
| -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()); |
