diff options
| author | Jabiertxof <jtx@jtx> | 2017-05-28 07:15:03 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-05-28 07:15:03 +0000 |
| commit | 2d6c75e0cdd3e341d4372da0a16c81721dadcc05 (patch) | |
| tree | 0755b473937d57fa8b035e98dbe244e04bfe427c /src | |
| parent | Remove dabug line (diff) | |
| download | inkscape-2d6c75e0cdd3e341d4372da0a16c81721dadcc05.tar.gz inkscape-2d6c75e0cdd3e341d4372da0a16c81721dadcc05.zip | |
Allow doOnRemove in all LPE
(bzr r15710)
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp-lpe-item.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp index d920909f9..83cf408a4 100644 --- a/src/sp-lpe-item.cpp +++ b/src/sp-lpe-item.cpp @@ -129,12 +129,7 @@ void SPLPEItem::set(unsigned int key, gchar const* value) { if (!value) { LivePathEffectObject *lpeobj = (*it)->lpeobject; Inkscape::LivePathEffect::Effect * lpe = lpeobj->get_lpe(); - if (dynamic_cast<Inkscape::LivePathEffect::LPEMirrorSymmetry *>(lpe) || - dynamic_cast<Inkscape::LivePathEffect::LPEMeasureLine *>(lpe) || - dynamic_cast<Inkscape::LivePathEffect::LPECopyRotate *>(lpe) ) - { - lpe->doOnRemove(this); - } + lpe->doOnRemove(this); } (*it)->unlink(); delete *it; |
