summaryrefslogtreecommitdiffstats
path: root/src/object/sp-star.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-04-14 17:03:43 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-04-23 21:37:56 +0000
commit4a5c399fa506ac3d17885bc772a96824d0efc58a (patch)
tree1224de65d09c649c0de88f0c14b37be468c3d9de /src/object/sp-star.cpp
parentAllow rotation to projection and noumerous bugfixes pointed by Lazur in IRC (diff)
downloadinkscape-4a5c399fa506ac3d17885bc772a96824d0efc58a.tar.gz
inkscape-4a5c399fa506ac3d17885bc772a96824d0efc58a.zip
Add transforms fixes
Diffstat (limited to 'src/object/sp-star.cpp')
-rw-r--r--src/object/sp-star.cpp13
1 files changed, 0 insertions, 13 deletions
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<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::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