From 4a5c399fa506ac3d17885bc772a96824d0efc58a Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Sat, 14 Apr 2018 19:03:43 +0200 Subject: Add transforms fixes --- src/object/sp-star.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/object/sp-star.cpp') diff --git a/src/object/sp-star.cpp b/src/object/sp-star.cpp index 27e1ce201..b0e31e9da 100644 --- a/src/object/sp-star.cpp +++ b/src/object/sp-star.cpp @@ -489,19 +489,6 @@ void SPStar::snappoints(std::vector &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::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' - 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 -- cgit v1.2.3