summaryrefslogtreecommitdiffstats
path: root/src/object/sp-spiral.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-spiral.cpp')
-rw-r--r--src/object/sp-spiral.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/object/sp-spiral.cpp b/src/object/sp-spiral.cpp
index ce5bda9a9..40abff7d7 100644
--- a/src/object/sp-spiral.cpp
+++ b/src/object/sp-spiral.cpp
@@ -349,12 +349,7 @@ void SPSpiral::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);
}
@@ -457,6 +452,10 @@ Geom::Affine SPSpiral::set_transform(Geom::Affine const &xform)
return ret;
}
+void SPSpiral::update_patheffect(bool write) {
+ SPShape::update_patheffect(write);
+}
+
/**
* Return one of the points on the spiral.
*