From e0ce1a8cc7e364bf5122811785e41f11788be1d7 Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Thu, 18 Mar 2010 03:20:09 +0100 Subject: Set transform center so that odd stars and polygons rotate correctly. Fixed bugs: - https://launchpad.net/bugs/462157 (bzr r9204) --- src/star-context.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/star-context.cpp') diff --git a/src/star-context.cpp b/src/star-context.cpp index 4d5d9780c..63a15545f 100644 --- a/src/star-context.cpp +++ b/src/star-context.cpp @@ -485,6 +485,10 @@ sp_star_finish (SPStarContext * sc) return; } + // Set transform center, so that odd stars rotate correctly + // LP #462157 + sc->item->setCenter(sc->center); + SPDesktop *desktop = SP_EVENT_CONTEXT(sc)->desktop; SPObject *object = SP_OBJECT(sc->item); -- cgit v1.2.3