diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-03-18 02:20:09 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-03-18 02:20:09 +0000 |
| commit | e0ce1a8cc7e364bf5122811785e41f11788be1d7 (patch) | |
| tree | a7c4ec7fda3e7bf97b4d0c66e65f2e44880b71cf /src/star-context.cpp | |
| parent | Fix scaling of degenerate handles using keybard shortcuts. (diff) | |
| download | inkscape-e0ce1a8cc7e364bf5122811785e41f11788be1d7.tar.gz inkscape-e0ce1a8cc7e364bf5122811785e41f11788be1d7.zip | |
Set transform center so that odd stars and polygons rotate correctly.
Fixed bugs:
- https://launchpad.net/bugs/462157
(bzr r9204)
Diffstat (limited to 'src/star-context.cpp')
| -rw-r--r-- | src/star-context.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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); |
