summaryrefslogtreecommitdiffstats
path: root/src/sp-object.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-10-19 20:03:34 +0000
committerjabiertxof <info@marker.es>2016-10-19 20:03:34 +0000
commitfa7621c1f6ff4a7203b05f43db348e48da31d211 (patch)
tree2a6afca2b861f72494580e72b8a79462e58516f4 /src/sp-object.cpp
parentStyling rotate (diff)
parentFix bug:1634641 crash on delete (diff)
downloadinkscape-fa7621c1f6ff4a7203b05f43db348e48da31d211.tar.gz
inkscape-fa7621c1f6ff4a7203b05f43db348e48da31d211.zip
Update to trunk
(bzr r15142.1.18)
Diffstat (limited to 'src/sp-object.cpp')
-rw-r--r--src/sp-object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index cbd7aa969..21d8bcd93 100644
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
@@ -485,7 +485,7 @@ void SPObject::_sendDeleteSignalRecursive() {
void SPObject::deleteObject(bool propagate, bool propagate_descendants)
{
sp_object_ref(this, NULL);
- if ( SP_IS_LPE_ITEM(this) ) {
+ if ( SP_IS_LPE_ITEM(this) && SP_LPE_ITEM(this)->hasPathEffect()) {
SP_LPE_ITEM(this)->removeAllPathEffects(false);
}
if (propagate) {