summaryrefslogtreecommitdiffstats
path: root/src/object/sp-star.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-star.cpp')
-rw-r--r--src/object/sp-star.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/object/sp-star.cpp b/src/object/sp-star.cpp
index a25a724ea..1be7651f8 100644
--- a/src/object/sp-star.cpp
+++ b/src/object/sp-star.cpp
@@ -432,12 +432,7 @@ void SPStar::set_shape() {
* This is very important for LPEs to work properly! (the bbox might be recalculated depending on the curve in shape)*/
SPCurve * before = this->getCurveBeforeLPE();
if (before || this->hasPathEffectRecursive()) {
- if (!before || before->get_pathvector() != c->get_pathvector()){
- this->setCurveBeforeLPE(c);
- sp_lpe_item_update_patheffect(this, true, false);
- } else {
- this->setCurveBeforeLPE(c);
- }
+ this->setCurveBeforeLPE(c);
} else {
this->setCurveInsync(c);
}
@@ -541,6 +536,10 @@ Geom::Affine SPStar::set_transform(Geom::Affine const &xform)
return ret;
}
+void SPStar::update_patheffect(bool write) {
+ SPShape::update_patheffect(write);
+}
+
/**
* sp_star_get_xy: Get X-Y value as item coordinate system
* @star: star item