From: Krzysztof KosiƄski Date: Thu, 18 Mar 2010 02:20:09 +0000 (+0100) Subject: Set transform center so that odd stars and polygons rotate correctly. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f2b0b162d842a21d4c43394fc4e508a399e51fd9;p=inkscape.git Set transform center so that odd stars and polygons rotate correctly. --- 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);