From f2b0b162d842a21d4c43394fc4e508a399e51fd9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Krzysztof=20Kosi=C5=84ski?= Date: Thu, 18 Mar 2010 03:20:09 +0100 Subject: [PATCH] Set transform center so that odd stars and polygons rotate correctly. --- src/star-context.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.30.2