diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-10-14 19:29:10 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-10-14 19:29:10 +0000 |
| commit | ee527cbb228c6fba9c83bba5058d1a68ac647060 (patch) | |
| tree | 0e9e4884b2df7686214403b3a7707fe91e9a68ba /src/sp-star.cpp | |
| parent | Remove deprecated GNOME VFS (diff) | |
| download | inkscape-ee527cbb228c6fba9c83bba5058d1a68ac647060.tar.gz inkscape-ee527cbb228c6fba9c83bba5058d1a68ac647060.zip | |
Fixing problems with nested LPE and convert to paths
Diffstat (limited to 'src/sp-star.cpp')
| -rw-r--r-- | src/sp-star.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/sp-star.cpp b/src/sp-star.cpp index ccc8323d4..9844df98a 100644 --- a/src/sp-star.cpp +++ b/src/sp-star.cpp @@ -512,18 +512,19 @@ void SPStar::snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape:: Geom::Affine SPStar::set_transform(Geom::Affine const &xform) { bool opt_trans = (randomized == 0); + // Allow live effects if (hasPathEffect() && pathEffectsEnabled() && (this->hasPathEffectOfType(Inkscape::LivePathEffect::CLONE_ORIGINAL) || - this->hasPathEffectOfType(Inkscape::LivePathEffect::BEND_PATH) || - this->hasPathEffectOfType(Inkscape::LivePathEffect::FILL_BETWEEN_MANY) || - this->hasPathEffectOfType(Inkscape::LivePathEffect::FILL_BETWEEN_STROKES) ) ) + this->hasPathEffectOfType(Inkscape::LivePathEffect::FILL_BETWEEN_MANY) || + this->hasPathEffectOfType(Inkscape::LivePathEffect::BEND_PATH) || + this->hasPathEffectOfType(Inkscape::LivePathEffect::FILL_BETWEEN_STROKES) ) ) { // if path has this LPE applied, don't write the transform to the pathdata, but write it 'unoptimized' - // also if the effect is type BEND PATH to fix bug #179842 this->adjust_livepatheffect(xform); this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG); return xform; } + // Only set transform with proportional scaling if (!xform.withoutTranslation().isUniformScale()) { // Adjust livepatheffect |
