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