From 6505a9c92866f136b51024462c2b69a4f529a339 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Mon, 18 Nov 2013 22:56:11 +0100 Subject: fix initialization bug, that leads to non-continuous path (bzr r12822) --- src/sp-ellipse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-ellipse.cpp') diff --git a/src/sp-ellipse.cpp b/src/sp-ellipse.cpp index 4cf96e432..7e5dda871 100644 --- a/src/sp-ellipse.cpp +++ b/src/sp-ellipse.cpp @@ -450,7 +450,7 @@ void SPGenericEllipse::set_shape() // This code converts the circle to four elliptical arcs explicitly. // Circle::getPath currently creates cubic bezier curves, these are not suitable here // as a circle should have four mid markers at 0, 90, 180, 270 degrees. - Geom::Path path; + Geom::Path path(Geom::Point::polar(0)); Geom::EllipticalArc* arc; arc = circle.arc(Geom::Point::polar(0), Geom::Point::polar(M_PI / 4.0), Geom::Point::polar(M_PI / 2.0)); -- cgit v1.2.3