summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-11-18 21:56:11 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-11-18 21:56:11 +0000
commit6505a9c92866f136b51024462c2b69a4f529a339 (patch)
tree065d46444156b6125b330967c10f4f024d3ca2ae /src
parentremoved access to private member, fixed dpi calculation (diff)
downloadinkscape-6505a9c92866f136b51024462c2b69a4f529a339.tar.gz
inkscape-6505a9c92866f136b51024462c2b69a4f529a339.zip
fix initialization bug, that leads to non-continuous path
(bzr r12822)
Diffstat (limited to 'src')
-rw-r--r--src/sp-ellipse.cpp2
1 files changed, 1 insertions, 1 deletions
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));