diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-08-06 19:27:37 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-08-06 19:27:37 +0000 |
| commit | efcaaaf38289ebf771c0b8a0cec29a5976164f45 (patch) | |
| tree | 0c2ff815cd76b66a653bf966c58b29dbccc5804e /src | |
| parent | Fix for bug #1327267 (excessive calls to sp_style_read_from_prefs) (diff) | |
| download | inkscape-efcaaaf38289ebf771c0b8a0cec29a5976164f45.tar.gz inkscape-efcaaaf38289ebf771c0b8a0cec29a5976164f45.zip | |
Fix mistake introduced in r13495
(bzr r13498)
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp-star.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sp-star.cpp b/src/sp-star.cpp index 712029468..a9bb946c2 100644 --- a/src/sp-star.cpp +++ b/src/sp-star.cpp @@ -516,7 +516,6 @@ void SPStar::snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape:: Geom::Affine SPStar::set_transform(Geom::Affine const &tform) { Geom::Affine xform = (randomized == 0 ? tform.withoutTranslation() : tform); - // Only set transform with proportional scaling if (!xform.isUniformScale()) { return xform; @@ -528,7 +527,7 @@ Geom::Affine SPStar::set_transform(Geom::Affine const &tform) } /* Calculate star start in parent coords. */ - Geom::Point pos( this->center * xform ); + Geom::Point pos( this->center * tform ); /* This function takes care of translation and scaling, we return whatever parts we can't handle. */ |
