~inkscape.dev/inkscape/rotatecopies_improvements

« back to all changes in this revision

Viewing changes to src/sp-lpe-item.cpp

  • Committer: Jabiertxof
  • Date: 2017-01-14 21:03:06 UTC
  • mfrom: (15392.1.2 inkscape)
  • Revision ID: jtx@jtx-20170114210306-0rw5cfpf8gxr65g3
fixing crash on erase

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include "live_effects/lpeobject-reference.h"
26
26
#include "live_effects/lpe-measure-line.h"
27
27
#include "live_effects/lpe-mirror_symmetry.h"
 
28
#include "live_effects/lpe-copy_rotate.h"
28
29
 
29
30
#include "sp-path.h"
30
31
#include "sp-item-group.h"
128
129
                        LivePathEffectObject *lpeobj = (*it)->lpeobject;
129
130
                        Inkscape::LivePathEffect::Effect * lpe = lpeobj->get_lpe();
130
131
                        if (dynamic_cast<Inkscape::LivePathEffect::LPEMirrorSymmetry *>(lpe) ||
131
 
                            dynamic_cast<Inkscape::LivePathEffect::LPEMeasureLine *>(lpe) )
 
132
                            dynamic_cast<Inkscape::LivePathEffect::LPEMeasureLine *>(lpe) ||
 
133
                            dynamic_cast<Inkscape::LivePathEffect::LPECopyRotate *>(lpe) )
132
134
                        {
133
135
                            lpe->doOnRemove(this);
134
136
                        }