summaryrefslogtreecommitdiffstats
path: root/src/sp-lpe-item.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-01-14 21:03:06 +0000
committerJabiertxof <jtx@jtx>2017-01-14 21:03:06 +0000
commit7e4cdbfd55295e76671ade0fd5211d2c3b3c4208 (patch)
tree53612c46edc3e6e007922e3df862c568bced9303 /src/sp-lpe-item.cpp
parentbase of effect (diff)
parent[Bug #1651815] share/examples: rescale svgs to 96 dpi. (diff)
downloadinkscape-7e4cdbfd55295e76671ade0fd5211d2c3b3c4208.tar.gz
inkscape-7e4cdbfd55295e76671ade0fd5211d2c3b3c4208.zip
fixing crash on erase
(bzr r15392.1.3)
Diffstat (limited to 'src/sp-lpe-item.cpp')
-rw-r--r--src/sp-lpe-item.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp
index 7ad428383..1ee62b2db 100644
--- a/src/sp-lpe-item.cpp
+++ b/src/sp-lpe-item.cpp
@@ -25,6 +25,7 @@
#include "live_effects/lpeobject-reference.h"
#include "live_effects/lpe-measure-line.h"
#include "live_effects/lpe-mirror_symmetry.h"
+#include "live_effects/lpe-copy_rotate.h"
#include "sp-path.h"
#include "sp-item-group.h"
@@ -128,7 +129,8 @@ void SPLPEItem::set(unsigned int key, gchar const* 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::LPEMeasureLine *>(lpe) ||
+ dynamic_cast<Inkscape::LivePathEffect::LPECopyRotate *>(lpe) )
{
lpe->doOnRemove(this);
}