summaryrefslogtreecommitdiffstats
path: root/src/object/sp-ellipse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-ellipse.cpp')
-rw-r--r--src/object/sp-ellipse.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/object/sp-ellipse.cpp b/src/object/sp-ellipse.cpp
index da93e824f..76145c603 100644
--- a/src/object/sp-ellipse.cpp
+++ b/src/object/sp-ellipse.cpp
@@ -481,12 +481,7 @@ void SPGenericEllipse::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);
}
@@ -625,6 +620,10 @@ void SPGenericEllipse::modified(guint flags)
SPShape::modified(flags);
}
+void SPGenericEllipse::update_patheffect(bool write) {
+ SPShape::update_patheffect(write);
+}
+
void SPGenericEllipse::normalize()
{
Geom::AngleInterval a(this->start, this->end, true);