summaryrefslogtreecommitdiffstats
path: root/src/object/box3d-side.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-04-22 22:09:01 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-04-23 21:37:56 +0000
commite65551ff4a5356b86a973bcbe4ef973bdf09525c (patch)
tree627efd33fd2695caf16a5b9f52b8b2da22a14343 /src/object/box3d-side.cpp
parentRemove pathh orig file (diff)
downloadinkscape-e65551ff4a5356b86a973bcbe4ef973bdf09525c.tar.gz
inkscape-e65551ff4a5356b86a973bcbe4ef973bdf09525c.zip
Fix warings on updates
Diffstat (limited to 'src/object/box3d-side.cpp')
-rw-r--r--src/object/box3d-side.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/object/box3d-side.cpp b/src/object/box3d-side.cpp
index 23c066b1c..c88c7a7b9 100644
--- a/src/object/box3d-side.cpp
+++ b/src/object/box3d-side.cpp
@@ -196,12 +196,7 @@ void Box3DSide::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);
}